For Android > 9 (API 28) the File
component automatically redirects the path to the ASD, defining a relative path in the process. For Android < 10, the relative path must be specified.
dora_paz
(Dora)
February 26, 2022, 7:30am
#23
I added getAPI level (SdkVersion
) in my GetASD extension:
Here is a small extension to get the ASD (path of app specific directory) which is becoming more and more important on Android 10+ and the private data dir (β internal storage):
Updated: 26 Feb 2022:
GetASD_API.aix (5.3 KB)
[grafik]
The reason why I now added the privateDir will soon become clear when I show you how to store any kind of files in β internal storage (and not just text files like the File component does).
I think this is a milestone (at least for me):
I am very happy that thβ¦
1 Like
Unimech
(Unimech)
February 26, 2022, 10:12am
#26
Thank you for taking the trouble to help me.
now everything works well as I expect.
1 Like