10.09.2010 21:20, Ken H пишет:
No Android device can hold more than one sd card so why would there be
support for it?
Ken
Not so.
The relatively new and quite popular Samsung Galaxy S (and its many
carrier-specific variations) has two memory cards.
One is internal, cannot be replaced, and is mounted at the path that's
often used for external memory cards (/sdcard or /mnt/sdcard when that
phone is updated to Froyo).
The external memory card (replaceable via the usual slot, and not
installed by default - at least in the version I got) is mounted at
/sdcard/sd (or the corresponding Froyo path in the future).
There is also the HTC Incredible - its internal memory card is mounted
at /emmc (or something like it, I don't have one).
So there *are* variations, and it's probably safe to say that Samsung's
approach is better, since it's backwards compatible.
BTW, wouldn't it make sense to make this information available to
applications? I'm thinking additional versions of
getExternalStorageDirectory / getExternalStorageState that could deal
with there being more than one "large" storage area?
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
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