ODK Data sending issues in slow network connectivity

In remote areas where 2G/3G mobile sim card are used for sending data. It
gives genric error, while trying to send data.
It seems that all data of response is send in one post including its
photos, this results in a large size post data.
can we break it into smaller chunk so that each media goes as a one
separate post.

Or any other soultion to get around this.

Regards,
Vikas

The code can be changed to break things up differently for
transmission therefore I have filed a issue. If you would like to
follow the progress please star the issue.
http://code.google.com/p/opendatakit/issues/detail?id=576

You could change the camera apps settings so it takes lower quality
pictures which should save space and make the transmissions shorter.

Also you can use something like ODK Briefcase to connect the Android
device to a computer over USB to offload the data to the computer.
Briefcase can generate as CSV or send the data to Aggregate hopefully
over a faster connection. Additionally you could use wifi capabilities
of android devices and send the submissions when you have better
connectivity.

Hope some of these suggestions are helpful.

Waylon

··· On Thu, May 17, 2012 at 2:48 AM, Vikas Chaudhary wrote: > In remote areas where 2G/3G mobile sim card are used for sending data. It > gives genric error, while trying to send data. > It seems that all data of response is send in one post including its photos, > this results in a large size post data. > can we break it into smaller chunk so that each media goes as a one separate > post. > > Or any other soultion to get around this. > > Regards, > Vikas >

While waiting for us to add such a change, if you want to build your own
version of Collect, you could try changing the maximum size of data
uploaded in one attempt:

http://code.google.com/p/opendatakit/source/browse/src/org/odk/collect/android/tasks/InstanceUploaderTask.java?repo=collect#400

The current setting is to upload up to 100 media attachments or 10MB of
data in one attempt. You could lower this to just 1 or 2 media attachments
and see if that works for you. Otherwise, you may also be encountering the
60-second timeout for AppEngine.

Note that you should define an instanceID in your form if you are going to
upload forms with several media attachments so that the server can combine
those fragments correctly. See the list for earlier posts on this.

Mitch

··· On Thu, May 17, 2012 at 8:44 AM, W. Brunette wrote:

The code can be changed to break things up differently for
transmission therefore I have filed a issue. If you would like to
follow the progress please star the issue.
http://code.google.com/p/opendatakit/issues/detail?id=576

You could change the camera apps settings so it takes lower quality
pictures which should save space and make the transmissions shorter.

Also you can use something like ODK Briefcase to connect the Android
device to a computer over USB to offload the data to the computer.
Briefcase can generate as CSV or send the data to Aggregate hopefully
over a faster connection. Additionally you could use wifi capabilities
of android devices and send the submissions when you have better
connectivity.

Hope some of these suggestions are helpful.

Waylon

On Thu, May 17, 2012 at 2:48 AM, Vikas Chaudhary vikas.k.c@gmail.com wrote:

In remote areas where 2G/3G mobile sim card are used for sending data. It
gives genric error, while trying to send data.
It seems that all data of response is send in one post including its
photos,
this results in a large size post data.
can we break it into smaller chunk so that each media goes as a one
separate
post.

Or any other soultion to get around this.

Regards,
Vikas

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com