let me suggest you to store the image in ASD rather than in the root directory of the emulated sdcard
from there is should be easy to delete again…
also make sure to use the correct path… file:///storage/emulated/0/...
see also Some basics on Android storage system
Ok but how to store the image in ASD with the Image Editor component ? I’ve tried a lot of times to save on a different directory but each time it doesn’t work.
Sure this is tha aia file : tiktik(2).aia (129.5 KB)
Also, I have another problem with some devices that downloads the app, they can’t accept the WRITE_STORAGE and READ_STORAGE permission (they can’t accept from the app settings menu and when I use the block “ask for permission”)
A small correction: WRITE_EXTERNAL_STORAGE does no longer exist on Android 11+ and READ_EXTERNAL_STORAGE does no longer exist on Android 13+.
[quote=“ForRob, post:1, topic:247026”]
And this is the blocks to delete the file :
The File component uses a relative path.
You cannot delete a file in the root dir of the external storage on Android 11+ (without all-file-permission, which is not allowed by Google in the Play Store).
Ok but why is there an error The permission WRITE_EXTERNAL_STORAGE is denied on some devices when I just want to pick an image with the"Image_Picker" component.
Very good
Now if you use the ApplicationSpecificDirectory method from the tools extension, you get that path dynamically, which will work for the companion app and after building any app