I have problems detecting whether a (virtual) sd card is installed in the emulator
I have created a virtual sd card using mksdcard, and now I start the emulator with the option
This seems ok, but when I run the following code
String state = android.os.Environment.getExternalStorageState();
throw new IOException("SD Card is not mounted. It is " + state + ".");
I get the IOException, telling me that the state is "removed"
does anybody knows what I am missing here?