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?

Nathan

-- 



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)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android 3.0 Programming Books:  http://commonsware.com/books 

-- 


Sponsored Links


Other Threads

1. Does it exist an Android view equivalent to a "<select>" HTML input element

Does it exist an Android view equivalent to a "<select>" HTML input
element ?

In my application, user should fill a form.
I know that ListView can display a list of elements but I think it's
not relevant for a form.

Thanks.

-- 

2. target_product variable

Hello,

I need to compile for MISP AU1250 but when I set TARGET_PRODUCT=au1250
I got this message: build/core/product_config.mk:173: *** No matches
for product "au1250".  Stop.

Is there any list of target product ?

regards,


Frdric

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Why app still runs during a long-press on the power key (or end call key)?

4. How to build apk for sharing resource like frame-res.apk

5. Audio Framework Volume Change

6. How to remove sms notifications in status bar

7. High performance access on static data: What is your approach?