On Fri, Sep 17, 2010 at 8:50 AM, DanH <[email protected]> wrote:

> Yes, the file system on Android is SQL-centric to a fault.
>

Wha?  The file systems are FAT on the SD card and typically YAFFS on
internal storage (but may be other Unix file systems like ext4).  These have
nothing to do with SQL at all.

For the original poster, if you want to place data on the main "USB mass
storage" mountable storage, always use
Environment.getExternalStorageDirectory().  For devices that have both a
large internal storage and SD card, this should return the internal storage
(the SD card may not come populated with a card for such devices); in either
case, it returns the main storage area that the user can mount on the
desktop to exchange files.  (This storage area is also defined to not
enforce filesystem permissions, so works as an area to place common files
that are shared across applications like media.)

-- 
Dianne Hackborn
Android framework engineer
[email protected]

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to