Hello everyone.
I am looking for a tool to delete a file from the internal memory of the device - along the path storage/emulated/0/Documents/.
Is it possible to implement?
File component or SAF extension
If I specify these paths, it doesn't work:
file:///storage/emulated/0/Documents/...
/storage/emulated/0/Documents/...
storage/emulated/0/Documents/...
Which is why I suggested SAF. If your app has not created the file it does not necessarily have access to it
The application downloaded the file to the ASD and then moved it to the internal memory storage/emulated/0/Documents/
Using SAF:
Your filepath is not a uriString. You need to select the file with OpenDocument to get the contenturi.
Maybe check out this guide
Using the File component:
If the file is owned/created by the app, then you need to set the correct filescope for the File.delete block, this could be Shared or Legacy.
1 Like