ODK image resize

Hi all,

I have some issues with the image size which captured by tablets from ODK
forms, is there a way to resize the image before sending it to the server
as we have some quota limit, so we cannot have thousands of images when we
pull the data.

Thanks, -Hanan

I might sound silly asking this! I'm really new to ODK, but I'm a .net
developer, how can I write a code to implement this. I think it is java
based, but I have no idea how to do so.

Thanks for your continuing helpful help :slight_smile:

··· On Tuesday, August 11, 2015 at 3:03:54 PM UTC+3, Hanan Aqilan wrote: > > Hi all, > > I have some issues with the image size which captured by tablets from ODK > forms, is there a way to resize the image before sending it to the server > as we have some quota limit, so we cannot have thousands of images when we > pull the data. > > Thanks, -Hanan >

Thanks for this detailed reply!

What I need exactly to dig into in Android. You mean I need to learn how to
create Andro mobile app.

Bear with me a little please as I'm trying to get the whole picture of
things work.

Actually, ODK has many limitations, and I thought to go with LMMS but it
supports only English interface which is hard for us to switch from Arabic
from English. So if programming will beat these limitations, I would prefer
to go for it.

Regards, -Hanan

··· On Tuesday, August 11, 2015 at 3:03:54 PM UTC+3, Hanan Aqilan wrote: > > Hi all, > > I have some issues with the image size which captured by tablets from ODK > forms, is there a way to resize the image before sending it to the server > as we have some quota limit, so we cannot have thousands of images when we > pull the data. > > Thanks, -Hanan >

I have student experience with Java, what it is gonna help that is similar
to C#. So first I need to create a test mobile app using Java to get
started to be able to update ODK collect app. I think I got your idea.

I wanna ask you please! if I get familiar with updating ODK code, do you
think we will get over the limitations problem we face. I mean does it
really worth?

One last thing, what kind of app do I need to install? or what recommended
search term I can use to get started "How to create andro app" !!

Thank ya, -Hanan

··· On Tuesday, August 11, 2015 at 3:03:54 PM UTC+3, Hanan Aqilan wrote: > > Hi all, > > I have some issues with the image size which captured by tablets from ODK > forms, is there a way to resize the image before sending it to the server > as we have some quota limit, so we cannot have thousands of images when we > pull the data. > > Thanks, -Hanan >

That is very helpful!

I will start from these links and ya I will see how how it is worth :slight_smile:

··· On Tuesday, August 11, 2015 at 3:03:54 PM UTC+3, Hanan Aqilan wrote: > > Hi all, > > I have some issues with the image size which captured by tablets from ODK > forms, is there a way to resize the image before sending it to the server > as we have some quota limit, so we cannot have thousands of images when we > pull the data. > > Thanks, -Hanan >

Hanan,

Not without writing code. Your best bet is to set up the camera to
take smaller pictures.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Aug 11, 2015 at 7:03 AM, Hanan Aqilan hjameelq@gmail.com wrote:

Hi all,

I have some issues with the image size which captured by tablets from ODK
forms, is there a way to resize the image before sending it to the server as
we have some quota limit, so we cannot have thousands of images when we pull
the data.

Thanks, -Hanan

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hanan,

Everyone is welcome to ODK, even .Net developers! Join the dev list at
https://groups.google.com/forum/#!forum/opendatakit-developers and we
can continue the discussion there.

You'll probably want to get hello world running on Android first.
Plenty of tutorials out for that. Would also probably be a good idea
to build some test projects that take a picture and compresses it.
Once you get a general sense of how Android works, then you can go
digging through the ODK Collect code.

High level idea is to find the image capture widget, trace that code
to the part of the form entry activity that saves the image. Then put
some code there that, if a preference is set, compresses the image.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Aug 11, 2015 at 7:22 AM, Hanan Aqilan hjameelq@gmail.com wrote:

I might sound silly asking this! I'm really new to ODK, but I'm a .net
developer, how can I write a code to implement this. I think it is java
based, but I have no idea how to do so.

Thanks for your continuing helpful help :slight_smile:

On Tuesday, August 11, 2015 at 3:03:54 PM UTC+3, Hanan Aqilan wrote:

Hi all,

I have some issues with the image size which captured by tablets from ODK
forms, is there a way to resize the image before sending it to the server as
we have some quota limit, so we cannot have thousands of images when we pull
the data.

Thanks, -Hanan

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hanan,

You won't have to make a new app to add this feature, but if you are
going to modify ODK Collect, and you've never done Java or Android,
you should make a few dummy Android apps so you get a sense of the
process.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Aug 11, 2015 at 7:48 AM, Hanan Aqilan hjameelq@gmail.com wrote:

Thanks for this detailed reply!

What I need exactly to dig into in Android. You mean I need to learn how to
create Andro mobile app.

Bear with me a little please as I'm trying to get the whole picture of
things work.

Actually, ODK has many limitations, and I thought to go with LMMS but it
supports only English interface which is hard for us to switch from Arabic
from English. So if programming will beat these limitations, I would prefer
to go for it.

Regards, -Hanan

On Tuesday, August 11, 2015 at 3:03:54 PM UTC+3, Hanan Aqilan wrote:

Hi all,

I have some issues with the image size which captured by tablets from ODK
forms, is there a way to resize the image before sending it to the server as
we have some quota limit, so we cannot have thousands of images when we pull
the data.

Thanks, -Hanan

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hanan,

You'll have to decide for yourself if the effort is worth it. I think
this is a fairly straightforward extension to ODK.

Start at https://developer.android.com/training/basics/firstapp/index.html
and please send future dev questions to
http://groups.google.com/forum/#!forum/opendatakit-developers.

Good luck,

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Aug 11, 2015 at 8:00 AM, Hanan Aqilan hjameelq@gmail.com wrote:

I have student experience with Java, what it is gonna help that is similar
to C#. So first I need to create a test mobile app using Java to get started
to be able to update ODK collect app. I think I got your idea.

I wanna ask you please! if I get familiar with updating ODK code, do you
think we will get over the limitations problem we face. I mean does it
really worth?

One last thing, what kind of app do I need to install? or what recommended
search term I can use to get started "How to create andro app" !!

Thank ya, -Hanan

On Tuesday, August 11, 2015 at 3:03:54 PM UTC+3, Hanan Aqilan wrote:

Hi all,

I have some issues with the image size which captured by tablets from ODK
forms, is there a way to resize the image before sending it to the server as
we have some quota limit, so we cannot have thousands of images when we pull
the data.

Thanks, -Hanan

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.