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. Has anyone get App Inventor accounts?

Has anyone get a App Inventor account? I'd like to get an account to
develop some programs, but now what can I do is just waiting...


2. Accessing attributes of child views

I am quite new to Java, let alone Android. I am stuck with a problem
that I encountered while instrumenting (using the instrumentation
framework of android) the code of a Android project. I have a ListView
and using the getTouchables() API I have store the view in a
ArrayList. When in debug session, I saw that each view has children
(mChildren) when expanded I could see that there is a "ImageView" and
"TextView" present. when the "TextView" is expanded, I could access
the mText variable which contains the text value I am looking for. In
brief, the value I am looking for, when looking at the "variables"
window of the debug perspective of Eclipse, is present at "myview-

Here "myview" is the name of the object of View class.

how do I access/ read the content of the "value" variable?

Please let me know if you need any info in this regard?

Thank you


3. Regarding Intents

4. Unpublished app still can be purchased?

5. WebView and Android 1.5

6. WtL: case seidio innocase Droid/milestone

7. Cannot find "gen" folder... it's right there!