Samsung galaxy S3 with no SD card, I\'m using this code to check storage states.
Using this code:
boolean mExternalStorageAvailable = false; boolean
Use this code to know if there is a memory card in the device:
Boolean isSDPresent = android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED); if(isSDPresent) { // yes SD-card is present } else { // Sorry }