Android Developers
Shared publicly -Building a DocumentsProvider
Android 4.4 KitKat introduced the Storage Access Framework, a common framework which allows apps use a system provided UI to request files from apps and from local storage. Your app can be an equal partner on that list by implementing a DocumentsProvider, making files your app owns available to other apps, all without needing the Storage permission or requiring you build your own file selection UI.
Watch the video to go through the required APIs needed for building a DocumentsProvider, then read thenovel blog post for more details and all of the other functionality that you can add to a DocumentsProvider: https://medium.com/google-developers/building-a-documentsprovider-f7f2fb38e86a
See this video and many others in the full Android Development Patterns playlist: https://www.youtube.com/watch?v=LaMUvV-gOfE&list=PLWz5rJ2EKKc-lJo_RGGXL2Psr8vVCTWjM&index=10
#BuildBetterApps
Android 4.4 KitKat introduced the Storage Access Framework, a common framework which allows apps use a system provided UI to request files from apps and from local storage. Your app can be an equal partner on that list by implementing a DocumentsProvider, making files your app owns available to other apps, all without needing the Storage permission or requiring you build your own file selection UI.
Watch the video to go through the required APIs needed for building a DocumentsProvider, then read the
See this video and many others in the full Android Development Patterns playlist: https://www.youtube.com/watch?v=LaMUvV-gOfE&list=PLWz5rJ2EKKc-lJo_RGGXL2Psr8vVCTWjM&index=10
#BuildBetterApps
63
10

The blog post listed here is about as comprehensive as it gets - we're already working to get it incorporated into the docs at https://developer.android.com/guide/topics/providers/document-provider.html
Add a comment...




























