Hi there,

In my application, I want to get SD card current state, mount or
unmounted. While my phone has two external storage. One is built-in
storage (phone storage) and the other is SD card storage. I use
Environment.getExternalStorageDirectory() to get the path like /mnt/
sdcard/, in order to distinguish if the storage is built-in or sd
card, I also check the 'isExternalStorageRemovable()', if true, that
means it's sd card.

Actually, after running app, I always get SD card mount state even I
don't insert it. So I want to know how to get SD card mount or
unmounted status if the phone has two external storage?

 Thanks.
Qin

-- 
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