Hi There,
please explain me that how can i download image to user device like in gallary or in download folder.
whats wrong in my blocks
i have getting this error!
i want to download image from this type url - https://i.postimg.cc/8cV1yh0b/SAVE-20210807-113423.jpg
enable storage permission read or write, and use/download/folder name and use empty text in name ,again set file name after download button
Anke
March 5, 2023, 1:24am
#3
Android version?
On Android 11+ you can no longer download to the root directory of the external storage.
Search the forum (eg for “Some basics on Android storage”. See also here:
Access to non-media files on Android 11+
On Android 11+, non-media files (like txt, pdf, csv, …) can be accessed
if and only if
the text files are in the → ASD or in the → Private dir (i.e. were saved there), or
the text files are in one of the Shared folders /Documents or /Download and
these files were created by the app itself, or
SAF is used, or
MANAGE_EXTERNAL_STORAGE* permission is requested and granted.
*` This is not really an option, because an app that requests this permiss…
In which android version are you trying? If it is in android 11 or later, you will have to use the default folders.
Anke
March 5, 2023, 1:29am
#5
Pablo_Almeida:
use the default folders
There are no default folders. He must download to /Documents or /Download or the ASD (on Android 11+).
2 Likes
Yes, that’s what I meant as default folders
I forgot ASD name but around here we say like that about /Documents and /Download
Only now that you answered that I thought that it probably isn’t the international way to say
1 Like
Anke
March 5, 2023, 9:22am
#7
Well, then there would be different “default folders” for media and non-media files.
Therefore, one should always speak of “Shared folders ”.
2 Likes
@Dj_Alok do these corrections
Anke
March 6, 2023, 12:03pm
#9
The Downloader
component needs / uses a relative path:
1 Like
system
closed
March 9, 2023, 8:51am
#10
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.