[ODK Community] Move ODK Collect data to SD card?

Mary,

By default, ODK Collect writes all form data to the SD card. If you
want to transfer the form data to your local computer, make sure to
try ODK Briefcase at http://opendatakit.org/use/briefcase/

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom development, form design, implementation support, and user training for ODK.

On Tue, Mar 19, 2013 at 4:28 PM, maryc mechampeny@ucdavis.edu wrote:

Hi,
I'm using a Samsung Galaxy Y Duos Android phone to access ODK Collect. I want to move the app from my internal phone storage to the phone's external SD card, but I haven't been able to do this successfully. I tried doing this from the app manager settings, and when that didn't work I downloaded "App2SD" from the Google Play Store, but it says the ODK collect app is "Phone only". Is there a way to move this app and saved surveys to an SD card? Ultimately I want to be able to backup saved surveys on the SD card and transfer them to my computer, and I'm a little unsure if this is even something that can be done.....can anyone help me out on either count?

--

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/groups/opt_out.

Mary,

I bet this is one of the Samsung Devices that doesn't do the right
thing when we call Environment.getExternalStorageDirectory().

This is a known issue (see
https://code.google.com/p/opendatakit/issues/detail?id=447) but it
isn't high priority for the core team.

Star the issue to help make it higher priority, and if this is urgent
problem, you can hire a developer to fix it at
http://opendatakit.org/help/help-for-hire.

Yaw

··· -- Need ODK help? Go to http://nafundi.com for custom development, form design, implementation support, and user training for ODK.

On Tue, Mar 19, 2013 at 4:55 PM, maryc mechampeny@ucdavis.edu wrote:

This is a phone with an external SD card, and it doesn't seem to be saving there.

On Tuesday, March 19, 2013 4:40:39 PM UTC-7, Yaw Anokwa wrote:

Mary,

By default, ODK Collect writes all form data to the SD card. If you

want to transfer the form data to your local computer, make sure to

try ODK Briefcase at http://opendatakit.org/use/briefcase/

Yaw

--

Need ODK help? Go to http://nafundi.com for custom development, form

design, implementation support, and user training for ODK.

On Tue, Mar 19, 2013 at 4:28 PM, maryc wrote:

Hi,

I'm using a Samsung Galaxy Y Duos Android phone to access ODK Collect. I want to move the app from my internal phone storage to the phone's external SD card, but I haven't been able to do this successfully. I tried doing this from the app manager settings, and when that didn't work I downloaded "App2SD" from the Google Play Store, but it says the ODK collect app is "Phone only". Is there a way to move this app and saved surveys to an SD card? Ultimately I want to be able to backup saved surveys on the SD card and transfer them to my computer, and I'm a little unsure if this is even something that can be done.....can anyone help me out on either count?

--

--

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/groups/opt_out.

--

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/groups/opt_out.

Yaw,
Is it possible that at the moment the ODK collect is installed, it checks
to see if there is an SD Card inserted into the phone, and if not decides
that it will have to use the "internal" SD storage area there on and
forever?
Curtis

··· 2013/3/20 Yaw Anokwa

Mary,

I bet this is one of the Samsung Devices that doesn't do the right
thing when we call Environment.getExternalStorageDirectory().

This is a known issue (see
https://code.google.com/p/opendatakit/issues/detail?id=447) but it
isn't high priority for the core team.

Star the issue to help make it higher priority, and if this is urgent
problem, you can hire a developer to fix it at
http://opendatakit.org/help/help-for-hire.

Yaw

Need ODK help? Go to http://nafundi.com for custom development, form
design, implementation support, and user training for ODK.

On Tue, Mar 19, 2013 at 4:55 PM, maryc mechampeny@ucdavis.edu wrote:

This is a phone with an external SD card, and it doesn't seem to be
saving there.

On Tuesday, March 19, 2013 4:40:39 PM UTC-7, Yaw Anokwa wrote:

Mary,

By default, ODK Collect writes all form data to the SD card. If you

want to transfer the form data to your local computer, make sure to

try ODK Briefcase at http://opendatakit.org/use/briefcase/

Yaw

--

Need ODK help? Go to http://nafundi.com for custom development, form

design, implementation support, and user training for ODK.

On Tue, Mar 19, 2013 at 4:28 PM, maryc wrote:

Hi,

I'm using a Samsung Galaxy Y Duos Android phone to access ODK
Collect. I want to move the app from my internal phone storage to the
phone's external SD card, but I haven't been able to do this successfully.
I tried doing this from the app manager settings, and when that didn't work
I downloaded "App2SD" from the Google Play Store, but it says the ODK
collect app is "Phone only". Is there a way to move this app and saved
surveys to an SD card? Ultimately I want to be able to backup saved surveys
on the SD card and transfer them to my computer, and I'm a little unsure if
this is even something that can be done.....can anyone help me out on
either count?

--

--

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/groups/opt_out.

--

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/groups/opt_out.

--

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/groups/opt_out.

--

Curtis BRODERICK
Head of training and user support
Tél : + 33(0)1.53.02.40.61 06.15.33.57.37

---------------------------EpiConcept---------------------------
Systèmes d'Information en Santé
Health Information System
47, rue de Charenton - 75012 PARIS
Tel : +33 (0)1 53 02 40 60 Fax : +33 (0)1 53 02 40 62
-----------------------www.epiconcept.fr------------------------

Ce message et toutes les pièces jointes sont établis à l'intention
exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le détruire et d'en
avertir l'expéditeur.

The information contained in the Email and any attachments is
confidential and intended solely and for the attention and use of the
named address(es). It may not be disclosed to any other person without
the express authority of EpiConcept, or the intended recipient, or
both.
If you are not the intended recipient, you must not disclose, copy,
distribute or retain this message or any part of it.

Hi Curtis,

This is a problem bigger than just ODK. Other applications that use SD
storage, especially those that store a lot of data, are facing the
problem. We've faced it in our own applications here at the Serval
Project and MaGDAA Project and are currently evaluating what we can
do.

The issue comes down to two main components.

  1. As was noted in an earlier message thread[1] Android changed the
    way that SD Cards are used. The change basically boils down to the
    fact that the officially supported Java methods that in the past would
    return the path to the external strorage, that is storage that is made
    available via an SD Card in a slot on the device, now always return
    the path to the storage that is internal to the device.

  2. Different device manufacturers, and different Android ROMs, make
    the storage available on an SD Card inserted into the slot on the
    device via an arbitrary path. Some devices / ROMs use
    /mnt/sdcard/external_sd others use /mnt/externalSD others use a
    different path.

Basically this means that there is no clean and reliable way to
determine the path to the storage on a SD Card inserted into slot of
the device.

Therefore in newer versions of Android, I believe from version 3.0 and
later, there is no clean and reliable way for an application to
determine if it can store data on an SD Card inserted into the slot of
a device. Additionally devices hat have an SD Card are becoming
increasingly rare as device manufacturers appear to prefer having
storage on the device only.

ODK Collect, and other applications, when using the officially
supported API will always find that the path to the "internal" storage
(that is storage that is physically part of the device) is returned
when requesting the path to store data on the SD Card, wether an SD
Card is inserted into the slot on the device or not. It doesn't matter
when the lifecycle of the app the request for the path for storage is
made, the result is always the same. The "internal" storage (part of
the device) is made available in preference to the "external" storage
(an SD Card).

It isn't the fault of ODK Collect or any other application, the fault
in my opinion, lies with this change in policy of Android and the
device manufacturers being inconsistent.

Hope this helps.

-Corey

[1] https://groups.google.com/d/msg/opendatakit/y0gnGTULdoE/nocV3a8lYnkJ

··· On Wed, Mar 20, 2013 at 7:01 PM, Curtis Broderick wrote: > Yaw, > Is it possible that at the moment the ODK collect is installed, it checks to > see if there is an SD Card inserted into the phone, and if not decides that > it will have to use the "internal" SD storage area there on and forever? > Curtis > > > 2013/3/20 Yaw Anokwa >> >> Mary, >> >> I bet this is one of the Samsung Devices that doesn't do the right >> thing when we call Environment.getExternalStorageDirectory(). >> >> This is a known issue (see >> https://code.google.com/p/opendatakit/issues/detail?id=447) but it >> isn't high priority for the core team. >> >> Star the issue to help make it higher priority, and if this is urgent >> problem, you can hire a developer to fix it at >> http://opendatakit.org/help/help-for-hire. >> >> Yaw >> -- >> Need ODK help? Go to http://nafundi.com for custom development, form >> design, implementation support, and user training for ODK. >> >> On Tue, Mar 19, 2013 at 4:55 PM, maryc wrote: >> > This is a phone with an external SD card, and it doesn't seem to be >> > saving there. >> > >> > On Tuesday, March 19, 2013 4:40:39 PM UTC-7, Yaw Anokwa wrote: >> >> Mary, >> >> >> >> >> >> >> >> By default, ODK Collect writes all form data to the SD card. If you >> >> >> >> want to transfer the form data to your local computer, make sure to >> >> >> >> try ODK Briefcase at http://opendatakit.org/use/briefcase/ >> >> >> >> >> >> >> >> Yaw >> >> >> >> -- >> >> >> >> Need ODK help? Go to http://nafundi.com for custom development, form >> >> >> >> design, implementation support, and user training for ODK. >> >> >> >> >> >> >> >> On Tue, Mar 19, 2013 at 4:28 PM, maryc wrote: >> >> >> >> > Hi, >> >> >> >> > I'm using a Samsung Galaxy Y Duos Android phone to access ODK >> >> > Collect. I want to move the app from my internal phone storage to the >> >> > phone's external SD card, but I haven't been able to do this successfully. I >> >> > tried doing this from the app manager settings, and when that didn't work I >> >> > downloaded "App2SD" from the Google Play Store, but it says the ODK collect >> >> > app is "Phone only". Is there a way to move this app and saved surveys to an >> >> > SD card? Ultimately I want to be able to backup saved surveys on the SD card >> >> > and transfer them to my computer, and I'm a little unsure if this is even >> >> > something that can be done.....can anyone help me out on either count? >> >> >> >> > >> >> >> >> > -- >> >> >> >> > -- >> >> >> >> > 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/groups/opt_out. >> >> >> >> > >> >> >> >> > >> > >> > -- >> > -- >> > 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/groups/opt_out. >> > >> > >> >> -- >> -- >> 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/groups/opt_out. >> >> > > > > -- > > Curtis BRODERICK > Head of training and user support > > Tél : + 33(0)1.53.02.40.61 06.15.33.57.37 > > ---------------------------EpiConcept--------------------------- > Systèmes d'Information en Santé > Health Information System > 47, rue de Charenton - 75012 PARIS > > Tel : +33 (0)1 53 02 40 60 Fax : +33 (0)1 53 02 40 62 > -----------------------www.epiconcept.fr------------------------ > > Ce message et toutes les pièces jointes sont établis à l'intention exclusive > de ses destinataires et sont confidentiels. > > Si vous recevez ce message par erreur, merci de le détruire et d'en avertir > l'expéditeur. > > The information contained in the Email and any attachments is confidential > and intended solely and for the attention and use of the > > named address(es). It may not be disclosed to any other person without the > express authority of EpiConcept, or the intended recipient, or both. > If you are not the intended recipient, you must not disclose, copy, > distribute or retain this message or any part of it. > > > -- > -- > 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/groups/opt_out. > >