I’m sure I’m missing something here but I can’t find what.
I’m using @Taifun file extension to be able to write a file (an image to use as sprite) without asking permission in the app specific directory but when I get to the point where the canvas saves the image, it says the app doesn’t have permission. So obviously there’s something I don’t understand here.
Can anyone point out what is it?
And here (a different screen) the file should be saved but it shows the permission request, and after I grant the permission, it shows error 908. I understand it shouldn’t need to ask for permission right?
I am not able to describe it correctly but I will try.
App Inventor uses a lot of util classes to shorten long and repeated lines of code.One of them is FileUtil.
Canvas uses that to save file and (I don’t know why) FileUtil asserts Write permission to Form.
This is similar in Image component also.It uses MediaUtil class to set image which automatically asserts Read permission to Form.
You need read permission even when you want to load image from URL.
In that case the app will require permission to access the external storage and I want to avoid that. Is just a game I would like to keep it clean for the user, so they don’t suspect anything wrong about it. If I require access to their storage, I see in the reviews people don’t like that in games.