Android Question java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadStorageProvider uri

Nokia

Active Member
Licensed User
Longtime User
I'm getting this error: java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadStorageProvider uri content://com.android.providers.downloads.documents/document from pid=15058, uid=10343 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs

I have added these permissions:
B4X:
AddPermission(android.permission.ACTION_OPEN_DOCUMENT)
AddPermission(android.permission.MANAGE_DOCUMENTS)

any ohter sugestions..

using this example: https://www.b4x.com/android/forum/t...s-returned-from-contentchooser.39313/#content
 
Top