-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
  • 17,493
  • 11
  • 81
  • 103
dpaksoni
  • 327
  • 3
  • 17

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