Mobile File Systems
Android
Browsing Files
Accessing Internal and External Storage
- Starting with Android 4.4, reading or writing files in your app's private directories does not require the READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE permissions
- Therefor you can declare the permission should be requested only on the lower versions of Android by adding the maxSdkVersion attribute:
<manifest ...>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
...
</manifest>
- More details around data storage
- Best practices around using Android External Storage
- External environment reference - Details and best practices of how to check the environment, load, and delete files.
- How to list files in an android directory
Solving the DCIM Issue
- Ideas around addressing the device specific camera path issue
- Listing of device specific camera paths