[DISCONTINUED] Extension to download file(s) to ASD (app-specific directory) without WRITE permission

sure I am trying but I don’t have Android 11 so I want to know which method can I use so that all version will work without error

please help me i want to open pdf after download how do that

As already posted:

Note : Since WRITE_EXTERNAL_STORAGE permission no longer exists on Android 11+, without MANAGE_EXTERNAL_STORAGE there is no way to save files outside of the ASD , Private dir or Shared folders. Or you must use SAF.

That type of permision is not allowed by google, I used Deephost Custom downloader and got e

Tried to add permission and it is ok granted but the app not downloading

This is what I get

We all know that. What do you want to tell - whoever - by posting my post now a third time?

I am sorry I just need to know how I can use this aix to download the video to all devices and forget about move file only I need to use it in a simple and smooth way

well, it does not download, because you have to call the getDownload procedure again after the user granted the permission
btw. also the FileListAsync method works better with a correct path…

Taifun

Yes I have tried this way to call FileListAsync and I found it is working perfect

But the question I have remained with is about this block
call
is it necessary to call this block in every time I want to download the file?

taken from here Some basics on Android storage system

Note: The ASD seems always automatically be created by Kodular (not with AI2).
The path of the ASD is:

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

Taifun

1 Like

Thank you @Taifun then I see there is no need for me to call that block since I use kodular

1 Like

But it is completely irrelevant whether this block is used or not, because it will only be executed if the directory does not already exist.

1 Like

For sure thanks @bodymindpower I then came to realize that I have to call it every time I want to download the video else video will not download

How can I prevent things I’ve downloaded from being shown in the downloads section of my phone?

if you download to ASD “things” do not show up in the gallery…
it looks like you download to somehwere else…
what about elaborating what exactly you are doing including providing a screenshot of your relevant blocks?
if you download to shared storage just use subdirectory, which starts with a dot or start the image name with a dot… ./myhiddenfolder or .myhiddenimage.jpg

Taifun

1 Like

Thank you for your response but it’s not gallery, it is download shortcut and this happen on android 9 and below.


Store.aia (685.9 KB)

is this a default app on the device?
sorry, I do not have time to look into your aia file…

Taifun

1 Like

Yes, all devices with Android 9 and below have it.

blocks

what happens, if you follow my advice? (now posted the third time…)

Taifun

1 Like

Still the same problem!

Anyway i change my mind and use another method.

Thank you very much for your time dear Taifun​:tulip: