I have an android tablet where external SD card called \"/mnt/extsd\" and its internal storage called \"/mnt/sdcard\".
When I am try to create a folder in \"/mnt/sdc
If Environment.getExternalStorageDirectory()
returns /mnt/sdcard/
, then that is the external storage that you should be using in your application. While your device may have other mount points (e.g., /mnt/extsd/
), those are not part of the Android SDK and will be more or less unique to your specific device. You will need to contact your device's manufacturer to ask them if there is a way you can use /mnt/extsd/
from a regular SDK application.
If you have root access, you might be able to work around this by changing permissions on /mnt/extsd/
, but that is not really a programming topic and therefore is beyond the scope of StackOverflow.