Yes, have read the documentation. But that is not what I am looking for. The getExternalStorage() returns internal sd card (if there are both internal sd card and external sd card). I want to know how to find the external sd card path.
On Wed, Mar 6, 2013 at 9:05 PM, TreKing <treking...@gmail.com> wrote: > > On Wed, Mar 6, 2013 at 10:29 PM, yves...@gmail.com <yves...@gmail.com> > wrote: >> >> So, I want to know, first, how to enumerate all storage locations > > > Did you check the documentation? > > http://developer.android.com/guide/topics/data/data-storage.html > >> >> , second, monitor sdcard insert/eject events. > > > See the various MEDIA broadcasts. > http://developer.android.com/reference/android/content/Intent.html#ACTION_MEDIA_BAD_REMOVAL > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered devices > > -- > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.