Page 1 of 1
finding documents files
Posted: Tue Feb 28, 2012 7:17 pm
by cwkalish
Hi. I tried asking this question a while back, but never really figured out the answer:
I can't find files that my android app writes into the documents folder.
I would like to have access to these files from outside of the app. (for example, downloading to a computer).
Thanks for any suggestions.
-Chuck
Re: finding documents files
Posted: Wed Feb 29, 2012 10:27 pm
by jacque
I'm not quite sure how it works, but all the Android folders are virtual. You won't find them with a file utility. They may be somewhere that requires root access but I haven't looked.
You can write to the SD card though, if you enable that in the standalone settings. That will put your files into a real folder. I haven't tried it, so I'd be interested in hearing how it goes.
Re: finding documents files
Posted: Thu Mar 01, 2012 3:22 am
by cwkalish
Thanks. I kind of suspected that the documents folder/files didn't really exist (or were sandboxed). How do I write to the sd card? will "/sdcard/myfile" do the trick?
Re: finding documents files
Posted: Thu Mar 01, 2012 6:25 pm
by jacque
I think that should work. It's customary to create a folder with your app name and then write files into that. Make sure you select the option to write to the SD card in the standalone builder.
I'm going to need to do this myself pretty soon but I haven't had time to try it yet. Let us know so that I can continue to be lazy.

Re: finding documents files
Posted: Tue Mar 06, 2012 6:24 pm
by cwkalish
Well, "/SDcard/foldername/" is not working as a path. I notice in "file expert" the sdcard is preceded by "/mnt/" does that need to be part of a file path?