-
|
I developing a gallery app and then I want to access images and video files, including those located in hidden Example
Then do val files = DocumentFileCompat.fromSimplePath(
context = context, basePath = "",
documentType = DocumentFileType.FILE
)and watch in debugger what we have: Library found picture inside |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
After research of mediastore database (in my case it locates at |
Beta Was this translation helpful? Give feedback.

After research of mediastore database (in my case it locates at
/data/data/com.android.providers.media.module/databases/external.db)I noticed that hidden files not caching inImagesandVideostables, but only inFilestable. So there is necessary to have full access to shared storage, not just Photos and Videos, to get access inside hidden folders. After I grantedMANAGE_EXTERNAL_STORAGEpermission it start working. My fault.