How do I find the path to an external SD card in Android 4.0 and later?

Asked 2 years ago, Updated 2 years ago, 104 views

The Samsung Galaxy S3 has an external SD card slot, mounted on the /mnt/extSdCard path.

Environment.getExternalStorageDirectory() How can I find a path through code like this? The above code will return mnt/sdcard. But I can't find the external SD card API (or USB that can be attached and detached for tablet)

Thank you!

android android-sdcard

2022-09-22 11:01

1 Answers

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.