Private Storage with App2sd.

by Nathan » Fri, 20 May 2011 05:05:32 GMT

Sponsored Links
 I found this message about App Install location:

"The .apk file is saved on the external storage, but all private user
data, databases, optimized .dex files, and extracted native code are
saved on the internal device memory"

Based on this, I believe it is a bad idea to place anything large
(meaning more than a few megabytes), as a private storage file.

ie, if I call

openFileOutput(FILENAME, Context.MODE_PRIVATE);

It should be only for little files. If a user moves their app to the
SD Card, it doesn't really give them any more room for these files.

For anything else, I should plan on it being on the storage card, and
open to the public.

Am I right?



Re: Private Storage with App2sd.

by Mark Murphy » Fri, 20 May 2011 05:11:23 GMT


Yes. IOW, having the app installed on external storage has no effect
on files created on openFileOutput().

Mark Murphy (a Commons Guy)  |  | 

Android 3.0 Programming Books: 


Sponsored Links

Other Threads

1. Intent action for network events in android sdk

Thanks for that information.  These are the actions documented with
that behavior -



2. Landscape orientation of Intent

Hi, friends!

I have got a problem and hope you could help me:)

I have application in landscape orientation, I set it as
<android:screenOrientation="landscape"> in AndroidManifest.xml. But
when my app starts another activity - default internet browser - it
starts in portrait orientation.

Any ideas?

Thank you:)


3. How can I configure list view so that it can put focus to a focusable item within a list item

4. HttpPost works with Wifi, not with Mobile...

5. Yopie beraksi di isat-bb gathering

6. GPS code works in HTC machines but fails in MOTO's

7. ROM] [BETA] [v0.1] KiNgxKxNexu Desire2Nexus