我知道在android nougat中更改文件策略.文件共享到其他应用程序的通缉应用程序通过FileProvider生成uri.uri格式是content://com.example.myapp.fileprovider/myimages/default_image.jpg.
我想知道如何从生成的uri获取filepath FileProvider.getUriForFile().因为我的app需要知道物理文件路径才能保存,加载,读取信息等,这是可能的
[简而言之]
content://com.example.myapp.fileprovider/myimages/default_image.jpgFileProvider.getUriForFile.getContentResolver().openFileDescriptor().但我想知道文件路径.android filepath android-intent android-fileprovider android-7.0-nougat