[mono-android] detect SD Card path?

Jonathan Pryor jonp at xamarin.com
Thu Jun 7 14:31:30 UTC 2012


On Jun 7, 2012, at 9:31 AM, moelski wrote:
> How can I get the SD card path? 
> I know that i can call Environment.ExternalStorageDirectory. But this will result in /mnt/sdcard.  My sd card is mounted to /mnt/sdcard/external_sd. 

What device is this? I've never heard of that before.

What do you get if you use Environment.GetExternalStoragePublicDirectory(Environment.DirectoryMusic)? What's the value of Environment.ExternalStorageState? Environment.DataDirectory?

 - Jon



More information about the Monodroid mailing list