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. What's goldfish kernel?

Hello, I saw the follow branches in kernel git repository:

  korg/android-2.6.25
  korg/android-2.6.27
  korg/android-2.6.29
  korg/android-goldfish-2.6.27
  korg/android-goldfish-2.6.29
  m/master

So, what are the differences between goldfish kernel and non-goldfish
kernel?
And what is the master branch?

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. Making edittext smaller

Hi,

I'm trying to make an edittext box smaller. I've tried
android:textSize , but that only makes the text smaller, not the box.
And when I change the android:layout_height, then the text is cut
off.
--~--~---------~--~----~------------~-------~--~----~

3. IMHO, the ant targets should clean before building

4. How I can add new app icon in the mainscreen(or HomeScreen)

5. IMHO, the ant targets should clean before building

6. How I can add new app icon in the mainscreen(or HomeScreen)

7. Itens Checked in a ListView