This sample shows how to implement a simple documents provider using the storage access framework available in Android 4.4.
This sample uses the StorageAccessFramework introduced in Android 4.4 to implement a DocumentsProvider.
See Writing A Custom Document Provider guide for all the details on how to do this.
- Android SDK 28
- Android Build Tools v28.0.3
- Android Support Repository
This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.
If you've found an error in this sample, please file an issue: https://github.com/android/storage
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.