Even though I wrote the following statements in the DataURI section to open a specific folder instead of the Downloads folder, I was not successful:
Data URI= /storage/emulated/0/files/ OR /storage/emulated/0/files OR content://com.android.externalstorage.documents/document/primary%3Afiles OR content://com.android.externalstorage.documents/document/primary%3Afiles/
Anyone have any idea?
Henrik "The Developer" Lindqvist
unread,
Jan 18, 2024, 7:38:23 AM1/18/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Automate for Android
The URI goes into an extra, e.g.:
Action: Open document
MIME-type: */*
Extras= { "android.provider.extra.INITIAL_URI" as Uri: "content://com.android.externalstorage.documents/document/primary%3Afiles" }
In the next release v1.42.0 the fileUri will likely get a "d" flag to return a document URI.
Ahmet K
unread,
Jan 18, 2024, 9:02:58 AM1/18/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message