Created
September 30, 2020 08:30
-
-
Save anggrayudi/0a2b69f42d8807fb0e0288459ad924fe to your computer and use it in GitHub Desktop.
Easy Storage Access Framework in Android with SimpleStorage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DocumentFile rootFolder = DocumentFile.fromTreeUri(Uri.parse("content://com.android.externalstorage.documents/tree/14EC-BF55%3A")); | |
DocumentFile file = rootFolder.findFile("Movies").findFile("Horror").findFile("The_Conjuring.mp4"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment