In Android 10 it works correctly.
But after doing several tests, I see that I can have problems with the previous versions of android 10 if I want to save the files in the root folder of the application.
I cannot save the files in the root directory with the extension "call AplicationSpecificDirectory" from Taifun on a device with Android 4.4.2
I was hoping that these blocks that I attach you save in the file at: /storage/sdcard0/Android/data/appinventor.ai.bulone6868.test/files/a.txt
But it saves it in:
So I think the simplest thing in my case (for now) will be to save the files in the root folder for Devices smaller than Android 10 and in the application folder for those older than Android 10. (In both cases I have created another folder to have the files sorted)
This is how the blocks would be:
prueba_version_2.aia (34.2 KB)
Can you think of any other solution?
Thank you very much