file-browser

Android opening a file with ACTION_GET_CONTENT results into different Uri's

若如初见. 提交于 2019-11-26 12:13:50
问题 I am trying to open files by using Intent.ACTION_GET_CONTENT . Dependent on the Android version/device brand the file browser opens and I get the following results: Selecting a file from Downloads : content://com.android.providers.downloads.documents/document/446 Selecting a file from Fotos : content://media/external/images/media/309 Selecting a file from FileCommander : file:///storage/emulated/0/DCIM/Camera/20141027_132114.jpg I can open all these files except when I try to open a file from