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