I have a problem with devices that have external memory (SD card) and internal data storage. Like the Samsung S3, there are two types of external storage for the SD card and internal data storage. The Environment.getExternalStorageDirectory()
API does not get both, I searched the Internet and the fountain that I can read /proc/mounts
as a question
How to get all mount point information for an Android device?
My question is: can I rely on the /proc/mounts
file system on all devices and operating systems, or is there some kind of limitation? And is there any good documentation about this file system?
Thanks for the help.
source share