Find location of a removable SD card

前端 未结 22 2579
南方客
南方客 2020-11-21 11:32

Is there an universal way to find the location of an external SD card?

Please, do not be confused with External Storage.

Environment.getExternalStorage

22条回答
  •  有刺的猬
    2020-11-21 11:58

    /sdcard => Internal Storage (It's a symlink but should work)

    /mnt/extSdCard => External Sdcard

    This is for Samsung Galaxy S3

    You can probably bank on this being true for most...double check however!

提交回复
热议问题