Android Fileprovider: Can't Use Contentresolver To Fetch File?
From an outside app I want to do this to access a file on a FileProvider's internal storage: InputStream inputStream=contentResolver.openInputStream(Uri.parse('content://com.exampl
Solution 1:
- First you have to replace your package name with android:authorities="com.example.android.fileprovider"
- secondly there is no directory exists with name "path" it must be something like image/, video/ etc in the file segment
Post a Comment for "Android Fileprovider: Can't Use Contentresolver To Fetch File?"