How can I properly obtain the external SD card path?
问题 I'm faced with the well-known problem of obtaining the path of an external SD card mounted on some Android devices. (see this question for understanding what I mean) I've thought to solve the problem by reading the content of /etc/vold.fstab , then taking just lines representing partitions, but I don't have a device for doing tests. What I want to do is to read that file, ignore the row which refers to the address returned by Environment.getExternalStorageDirectory() , and take the other row