I want to check if the phone has SD card inserted or not. Actually I want to provide user to select the storage location.
Asked
Active
Viewed 823 times
1 Answers
1
This question has several duplicates, however, you can check for the SD card like this:
Boolean isSDPresent = android.os.Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED);

sam_c
- 810
- 7
- 25
-
1Please do not answer a question that has dup. This might just be closed later on. Thankyou – Enzokie Apr 07 '17 at 04:20