on the Galaxy S which has an internal sdcard + external sdcard slot, getExternalStorageDirectory returns only path to the internal sdcard: /mnt/internal_sd
note that when you have an external sdcard, it will be available under /mnt/internal_sd/external_sd/ but i dont know if there is a method to get it. On Aug 9, 2:02 pm, Mark Murphy <[email protected]> wrote: > On Mon, Aug 9, 2010 at 3:26 AM, [email protected] <[email protected]> wrote: > > There are more and more phone has built in storage and a sd card slot. > > What's the best way to enumerate them all? > > getExternalStorageDirectory() only returns one, right? How would the > > app know there are more than one external storage? > > From the standpoint of the Android SDK, there is only one "external storage". > > > And what their root directory names are? > > Please just use getExternalStorageDirectory(). > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 > Available! -- 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

