This is a cross post from thunkable forum.
Giving the rapid progress of Makeroid in just few months, perhaps you can do it.
Neither AI nor any other distros could do it before.
Here is my original post there:
Android version 4.4 and above does not allow applications you install to write to user-installed MicroSD cards. Quoted from here:
The WRITE_EXTERNAL_STORAGE permission must only grant write access to the primary external storage on a device. Apps must not be allowed to write to secondary external storage devices, except in their package-specific directories as allowed by synthesized permissions. Restricting writes in this way ensures the system can clean up files when applications are uninstalled.
So still there is a way for the app to write on the MicroSd, but it should be on the package-specific directory. Namely it should be inside the folders:
/Android/data/appinventor.ai_abc.xyz/
/Android/obb/appinventor.ai_abc.xyz/
Normally the folder /Android/data/ is created on the MicroSD card by Android at app install time. But if for some reason the folder doesn’t exist in your device, you need to use a system file manager app to create it. App itself can write inside this folder but it doesn’t have the permission to create it.
I checked the apps created by AI and it seems it does not create app-specific directory inside the data or the obb folders in the MicroSd. Even not all playstore apps are creating such app-specific directories in the MicroSd. It seems there is some way to do this at installation time.
I ask the gurus here, how to let the app create these folders in the MicroSd at instalation? Is there any manifest editing required to do so? Any chance that the creators of AI will include this capability in future releases?
Without this app-specific folders created at installation time, the microSd is almost useless for all AI created apps for Kitkat and above!
Thanks
P. S. : this has been discussed 1 year ago in the mit inventor Google group but nobody could do it. Here…