79328927

Date: 2025-01-04 13:40:18
Score: 1
Natty:
Report link

i am afraid you cannot achieve what you want,because google make changes on file system access permission from Android 10.your app can only access its own private folders and shared folders on device like Downloads,Document,DCIM,Pictures.to access other folders is not allowed any more,unless your app is specifically used for file management or a system app. even if the files in shared folders you can access must be type of media,other types are also forbidden.so you have to use the file browsing app in the system to read document on the device. your app cannot read all the documents on device

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ted Lee