The read and writte permission dont work correctly to add1 the elements for the empty list when i give access permission

why i cant get the elements to my empty list if i am giving the access to read and writte external storage?

there is my blocks and aia. when i give the access to read and write i need to reopen the app to get the elements for list

pruebataifunfile.aia (34.9 KB)

Android version ?

my android version is 9

you can see in the next three images i give the access but nothing happen so i need to reopen the app and only works reopening.



1 Like

thanks a lot if my android version is more recently like android 10 or superior i am only need to use get api level1 sdk version > 33? like this? changing the sign? or i need to use other method?

i have a question about the use of the conditional with external read and read media images. why i need to use the conditional. what is exactly the function of else?

How about just trying out my blocks instead of asking more (self-answering) questions.

your blocks are working correctly but i cant understand some parts like my 2 lasts questions about the function of some parts of the blocks.

To access media files that were not created by the app, you must always request READ permission even on Android > 10. However, starting with Android 13+, there is only READ_MEDIA_IMAGES (instead of READ_EXTERNAL_STORAGE), so these permissions must be requested exactly as I have shown.

ah ok now i understand thanks a lot for clarify me