as test keep the AskForPermisson block in the Screen.Initialize event and move all other blocks into for example a button click event
it should be possible to display the image from any folder after having received READ_EXTERNAL_STORAGE permission, see also the overview Some basics on Android storage system - #24 by bodymindpower
it then reloads and shows filetools exists true/false + the full path, then the image.
this all works on the companion -
but doesn’t work atall on my phone, even the copy command isn’t working, even though i have storage permissions and request permissions at the start of the app, as per the blocks aia -
Did you not watch my video? I did it manually via es file explorer, I don’t see why you think that wouldn’t work?? The second time I open the app it says true, but still doesn’t show…
in your test program you are calling the procedures cleanUp and display from the Screen.Initialize event…
this will not work, because you still do not have the required permission at this time…
you should call these procedures in a button.click event and click that button after having granted permissions…
you can remove WRITE_EXTERNAL_STORAGE, this does not exist anymore…
That’s really strange … but we’re not giving up yet …
Next attempt with an extension: imageTest4.apk (6.1 MB)
Btw, I checked my APKs on many test devices (Android 7, 8, 9, 10, 11). Also on Samsung and OnePlus devices. All APKs (1-4) work on all devices. I have no idea what’s going on on your devices.