Get the path of → ASD (app-specific dir) & → private data dir (internal storage)

Here is an extension to get the ASD (path of app specific directory) which is becoming more and more important on Android 10 and above.

de.bodymindpower.GetASD.aix (5.9 KB)

grafik

You can also get this with the TaifunFile extension from @Taifun or the FileTools extension from @vknow360.

But if you only need the path of the ASD:

/storage/emulated/0/Android/data/<packageName>/files

you can also take this small extension (5.9 instead of > 32 KB).

Version 2 (June 24, 2021):
de.bodymindpower.GetASD.aix (6.3 KB)

I added a new method / block (reason: seehere):

grafik

11 Likes

Great extension.

1 Like

You can also use this for checking "is development" or "APK":

grafik

and / or get the packageName:

2 Likes

(added to FAQ)

1 Like

I used your extension and it worked great, thank you very much.

1 Like

Version 2 (June 24, 2021):
de.bodymindpower.GetASD.aix (6.3 KB)

I added a new method / block:

grafik

for very good reason, because soon I'll be showing you a way you can store any kind of files in → internal storage (and not just text files like the File component does).

grafik

5 Likes

Thank you very much..

I installed this extension but I cant use it to show ASD, Could you please show me how I do this job?!
Thank you.

can you elaborate on this? what exactly are you trying to do?
Taifun

1 Like