Sunday, October 3, 2010

Re: [android-developers] Internal or External Storage

Also important: internal storage is secure (other apps can't read or modify your data), external storage very much is not.

On Sun, Oct 3, 2010 at 5:36 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
On Sun, Oct 3, 2010 at 8:25 PM, John Gaby <jgaby@gabysoft.com> wrote:
> I have a question about where people expect me to store my application
> data.  I have an application where the user will enter information via
> the keypad, and download information (including images) from a
> website.  Where is the proper place to save this?  Internal or
> External Storage?

Yes.

:-)

If you don't care, you might give the user the option via a preference.

If the user may want the images after your application is uninstalled,
then external storage is the better answer.

External storage also has more room, typically, than on-board flash.
OTOH, external storage is not always available (e.g., if user has the
device mounted), is accessible by all applications, etc.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://skillsmatter.com/go/os-mobile-server

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment