Hallo!
Ich verwende TaifunFile um die Anzahl von Dateien eines Ordners festzustellen.
Ich habe 3 Dateien in folgendem Ordner.
/Android/data/com.mendhak.gpslogger/files/
Wenn ich aber folgenden Code ausführe erhalte ich im Label1 immer 0.
On Android 11+ you cannot list the ASD of other Apps.
(Look at the packageName "com.mendhak.gpslogger". This is hardly an app built with AI2. And even if it were the own app, why would anyone hard-code the ASD?)
Wie ich schon sagte, auch das Gewähren von storage permissions ändert nichts an der Tatsache, dass man zumindest auf Android 11+ keinen Zugriff auf ASDs anderer Apps hat.
Ich werde daher den Solution Marker entfernen, damit andere nicht unnötig verwirrt werden.
As I said, even granting storage permissions doesn't change the fact that at least on Android 11+ you don't have access to ASDs of other apps.
I will therefore remove the solution marker so that others are not unnecessarily confused.
Apparently I missed something.
Yes, I remember vaguely again. But when and where was that? I think it was during my active "Kodular" time. I've lost track.
So it is still possible to get access to ASD of other apps using SAF as of Android 13 but very soon this workaround will be blocked too. Google devs already identified and fixed it in Android 12 partially.