A Filepicker with UI that uses the SAF for all file operations, no matter if you input a full file path or a content Uri.
Functions:.
pick file with multiple filter
move file
Copy file
delete file
rename file
download file from url
list files filtered
UI with style options
all functions and more also possible without the use of the UI
Note: At the first start of the UI a system folder permission opens. Here you give access to a folder, that will act as the “root-folder” for the UI. This sets the persisted uri and is stored. On API<30 devices you can also set the device’s real Root folder (“0”) as the UI’s “root-folder”. On API>30 devices you cant do this. There you need to give access again via system dialog when you want to leave your “root-folder”.
In addition, these permissions must be requested one after another. Furthermore, the READ_MEDIA_... permissions are only available starting with Android 13 (API 33). But I don't know why they would be needed if a file is picked by the user.
Update:
I removed ReadMediaAudio, ReadMediaImages and ReadMediaVideo permissions from extension. Updated aia (only asks for READ_EXTERNAL_STORAGE permission for API <31
PS: I read your explanation of the Android file system about 50 times and each time I noticed that smoke was coming out of my ears in the middle part and I had to stop reading..