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) & PrivateDir and the API level.

EDIT: September 7, 2022 → permissions removed (see here)
GetASD.aix (5.1 KB)

Note: You can get the ASD and PrivateDir also with the File component:

8 Likes

Can you please tell me how to use blocks to get permission for our apps so we can download content throught our app…

Storage permissions have nothing to do with my extension, the ASD, or the PrivateDir.
So ask your question in another place and esp. show your blocks.

I want to know that how i can ask permission for asd or private directory…
I have a project and the also have issue with downloading feature for android 12 but i cant know my blocks now bcoz im out of home for some days…

Can you pls show me a simple block for getting permission of asd and private directory

You don’t need storage permissions on Android 4.4+ (API 19+) for the ASD and you don’t need storage permissions for the PrivateDir on all Android versions.

What about android 11 and 12

As I said:

But why im not able to download any files through apk and its working fine in companion