Re: [android-developers] SD Card Mount, Unmounted.

2011-07-20 Thread Nikolay Elenkov
On Thu, Jul 21, 2011 at 11:39 AM, Qin wrote: > > 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? > Here's what the docs say, so I guess getting the state

[android-developers] SD Card Mount, Unmounted.

2011-07-20 Thread Qin
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 d