Environment.isExternalStorageRemovable() was added in API 9
And Environment.isExternalStorageEmulated() was added in API 11
isExternalStorageRemovable returns true when getExternalStorageDirectory's path is removable or not, more like a SD Card and if it return false, its internal storage and can never be removed physically.
And isExternalStorageEmulated is just do opposite of isExternalStorageRemovable ?
Now, my question is whats the difference ? Is it just different name with opposite output ?
isExternalStorageEmulated() == true means that there is no real SD card and it is just emulated (Nexus 5 for example). if the external storage isn't emulated isExternalStorageEmulated() == false then it can either be removable or not that is why we have isExternalStorageRemovable()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With