I need the DCIM folder path from the external sdCard if it is present.
I have observed that this path changes according to the manufacturer of the device ("/storage/extSdCard", "/storage/SdCard", "mnt/storage/extSdCard", ...)
Is there any Android api that would give me the path irrespective of the device?
Try out with
String m_path = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_DCIM).getAbsolutePath();
For the more details about the storage file structure you check my Blog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With