file_provider.xml 解析:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<paths>
<!--相当于Context.getFilesDir() + /path/-->
<files-path name="name" path="path" />
<!-- 物理路径相当于Context.getCacheDir() + /path/-->
<cache-path name="name" path="path" />
<!--物理路径相当于Environment.getExternalStorageDirectory() + /path/-->
<external-path name="name" path="path" />
<!-- 物理路径相当于Context.getExternalFilesDir(String) + /path/-->
<external-files-path name="name" path="path" />
<!-- 物理路径相当于Context.getExternalCacheDir() + /path/-->
<external-cache-path name="name" path="path" />
</paths>
</resources>
网友评论