Last active
June 30, 2022 03:15
-
-
Save uc-sja/34979f16afb550b53eb9c5d012380666 to your computer and use it in GitHub Desktop.
Fileprovider
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<paths> | |
// Represents files in the files/ subdirectory of your app's internal storage area. | |
// This subdirectory is the same as the value returned by Context.getFilesDir(). | |
//file path will be storage/data/user/0/Android/data/{your app package}/files/.../ | |
<files-path name="name" path="path" /> | |
//Represents files in the root of the external storage area. | |
//The root path of this subdirectory is the same as the value returned by Environment.getExternalStorageDirectory(). | |
//Will most likely be storage/emulated/0/{you app name}/.../ | |
<external-path name="name" path="path" /> | |
//Represents files in the root of your app's external storage area. | |
//The root path of this subdirectory is the same as the value returned by Context.getExternalFilesDir(). | |
//Will most likely be Android/data/{your app package}/files/ | |
<external-files-path name="name" path="path" /> | |
</paths> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment