Move ODK Collect data to SD card?

Hi there,

Thanks Corey for the detailed explanation that was very helpful.
It does affect the way we use ODK briefcase to pull data from the phones
(mounted SD Card), so I was hoping that maybe a solution can be found. Our
older Android phones are still in use but will be taken out of asset during
the course of next year.

Not sure if there is an option to allow ODK to be moved to the external SD
Card manually? Currently, it is not possible on an Android 4.4 phone,
option is grayed out. I can move other apps storing data successfully to
the external SD Card, though. Or maybe specifically for people using
Briefcase: Have ODK Briefcase also find internal SD Cards via MTP mode and
harvest data from there?

Best
Sandra

··· On Wednesday, March 20, 2013 12:28:21 AM UTC+1, Mary C 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?

Is there any work around yet on getting ODK Collect to use the external SD card space?
What is entailed to make this code change?
If I had someone who can do it... is there a design yet?
Tks!
Bob

Hi Bob,

Nafundi has tried implementing workarounds in an early internal fork
of Collect and a later internal fork. Neither ended well.

The only reasonable workaround is to hardcode every potential device
path and make some changes in how ODK handles files. This might work
OK if you control which devices are used in deployments, but this
still risks data loss because of how ContentProviders are initialized
and it's not sustainable because the Android team is clearly
discouraging external SDs for application data.

I'd recommend you use devices with only internal storage or use
manufacturers that display internal storage in a standard manner.

Yaw

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

On Sun, Jul 19, 2015 at 1:21 AM, Bob Achgill bobachgill@gmail.com wrote:

Is there any work around yet on getting ODK Collect to use the external SD card space?
What is entailed to make this code change?
If I had someone who can do it... is there a design yet?
Tks!
Bob

--

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.

My developer guy who added the high res video solution to Collect says he
is up to adding support for external writing to SD for the Samsung Galaxy 2
EK-GC200 Camera which runs Android 4.3.

We really need this so our deaf volunteer enumerators can add their video
hand signs data to the ODK lexicon form. As Chris mentioned... the His
Hands Reader literacy project requires 15GB of video per form, which breaks
the bank on any internal SD. I would suppose that camera will be a good
test for adding external SD support for ODK because the camera itself
allows for writing video to external SD.

We have one problem with moving forward with adding the support for this
camera. Last time Mitch had to do the compile because a proprietary
library from Google is needed. As I recall it dealt with the GPS location
part of the Collect code?

Can someone compile for us or provide the library the necessary library or
whatever we were tripping over last time to be able to compile?

I have a Fulbright scholar from a country in Africa that is ready to add
his country's hand signs but need this external SD tweak to collect before
I send him the camera.

Thanks!
Bob

P.S. I think adding support for this Android camera will be useful to
others in Agriculture, Social and Health, Anthropology, etc. Now
enumerators can interview by capturing amazing HD quality video into forms.

··· On Sunday, July 19, 2015 at 1:21:16 AM UTC-5, Bob Achgill wrote: > > Is there any work around yet on getting ODK Collect to use the external SD > card space? > What is entailed to make this code change? > If I had someone who can do it... is there a design yet? > Tks! > Bob

An official ODK Collect build requires a signing key for the APK, and a
registration of a Google Maps API authorization token linked to that
signing key.

If you want to roll-your-own ODK Collect (we prefer that you rename the
application package if you do), you would need to use a signing key that
you generated yourself and then create your own Google API project and
change the AndroidManifest.xml to provide the Google Maps token for that
project.

The manifest change is to the entry at line 231 in the manifest

··· On Mon, Jul 20, 2015 at 1:52 PM, Bob Achgill wrote:

My developer guy who added the high res video solution to Collect says he
is up to adding support for external writing to SD for the Samsung Galaxy 2
EK-GC200 Camera which runs Android 4.3.

We really need this so our deaf volunteer enumerators can add their video
hand signs data to the ODK lexicon form. As Chris mentioned... the His
Hands Reader literacy project requires 15GB of video per form, which breaks
the bank on any internal SD. I would suppose that camera will be a good
test for adding external SD support for ODK because the camera itself
allows for writing video to external SD.

We have one problem with moving forward with adding the support for this
camera. Last time Mitch had to do the compile because a proprietary
library from Google is needed. As I recall it dealt with the GPS location
part of the Collect code?

Can someone compile for us or provide the library the necessary library or
whatever we were tripping over last time to be able to compile?

I have a Fulbright scholar from a country in Africa that is ready to add
his country's hand signs but need this external SD tweak to collect before
I send him the camera.

Thanks!
Bob

P.S. I think adding support for this Android camera will be useful to
others in Agriculture, Social and Health, Anthropology, etc. Now
enumerators can interview by capturing amazing HD quality video into forms.

On Sunday, July 19, 2015 at 1:21:16 AM UTC-5, Bob Achgill wrote:

Is there any work around yet on getting ODK Collect to use the external
SD card space?
What is entailed to make this code change?
If I had someone who can do it... is there a design yet?
Tks!
Bob

--

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.

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