-1

I want to check if the phone has SD card inserted or not. Actually I want to provide user to select the storage location.

Maher Abuthraa
  • 16,698
  • 10
  • 75
  • 102
dpaksoni
  • 309
  • 3
  • 15

1 Answers1

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