----- Original Message ----- From: Kostya Vasilyev
To: android-developers@googlegroups.com
Sent: Friday, March 09, 2012 3:53 PM
Subject: Re: [android-developers] images


On 03/09/2012 07:36 PM, Knutsford Software wrote:

Is there a reasonable amount of space on there then? I was thinking there was more in the database I am new to this which must be obvious

As I already wrote, databases, by default, are stored in the same old internal memory, so I don't see any benefit to using a database to store the actual image bits. Besides the space issue, manipilating files is just easier than shuffling byte[] arrays.

The size of internal storage varies greatly, but as far as I can tell, users tend to get nervious if an app uses more than, say, 5-10-15 megabytes.

The external storage comes in two shapes: a real physical memory card, whose size can also vary greatly, and pseudo-external storage, such as that on tablets, Samsung's Galaxy phones including the Nexus (and maybe others).

The API is the same for both types of external memory.

As far external storage goes, consider using Context#getExternalCacheDir so that it integrates with Android's application management features.

http://developer.android.com/guide/topics/data/data-storage.html#filesExternal






Thanks that has helped a lot





--
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to