I now added a method into my tools extension, which can check, if manage external storage opermission already has been granted
You can download the tools extension in the Download section here App Inventor Extensions: Tools | Pura Vida Apps
Example use
@Anke might want to add that method into her All Files Permission extension
@SimpleFunction(description = "Checks, if MANAGE_STORAGE_PERMISSION has been granted. Returns true or false.")
public boolean HasManageStoragePermission() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
if (Environment.isExternalStorageManager())
return true;
else
return false;
} else
return true;
}
Taifun