Support for Storage Access Framework (SAF) URIs

50 views
Skip to first unread message

Ferhat

unread,
Jun 18, 2026, 9:29:22 AM (8 days ago) Jun 18
to DroidScript

Hello,

I'm having an issue with Storage Access Framework (SAF).

When I select a folder, DroidScript returns a URI such as:

content://com.android.externalstorage.documents/tree/primary:Documents/MyData

I cannot use this URI with app.ListFolder().

I also tried using the equivalent filesystem path:

/storage/emulated/0/Documents/MyData

Even after obtaining write permission and successfully creating files with app.WriteFile(), app.ListFolder() is still unable to list the folder contents.

Is there a way to access and list files from a SAF folder URI, or is this a limitation of app.ListFolder()?

If not, could support for SAF URIs be added to functions like ListFolder(), ReadFile(), and WriteFile()? Android increasingly returns content URIs instead of direct file paths, so it would be very useful.

Thank you.

Alan Hendry

unread,
Jun 18, 2026, 10:51:51 AM (8 days ago) Jun 18
to DroidScript
HI, 
I think this was brought up in
and is outstanding.
Regards, ah
Reply all
Reply to author
Forward
0 new messages