Even if the specified folder doesn't exist then it does creates one and download the file in it.
I think the Download Manager class which this extension uses download file without permission, I am not sure.
Even if the specified folder doesn't exist then it does creates one and download the file in it.
I think the Download Manager class which this extension uses download file without permission, I am not sure.
The blocks you have posted simply dosent work for me on Android 13
It's always not granted permission, nor it actually is successful in requesting path specific permission. The Deephost's permission extension you are using does nothing.
This is strange. I hope you are testing in compiled Apk and not in companion.
I used that (DeepHost's) extension in one of my app, and it works. May be you can try with SAF extension.
Yes, I am indeed trying it in compiled APK
Im a stranger to it, maybe you could demonstrate us how?
I agree
@The_K_Studio Let me suggest you to keep the extension in its core functionality i.e to download files to ASD and remove the not working features for newer Android versions again.
Taifun
SAF is complicated for me as well, I need to look into the documentation if it can be done using it.
BTW, i am talking about this extension.
https://community.appinventor.mit.edu/t/saf-app-inventor-implementation-of-storage-access-framework
Yes I will consider this if it doesn't work for all android version, but before that let me try testing it.
SAF for what?
It does grant you access to user specified folder but still I don't think you'll be able to use Download Manager
to download files in that folder.
My only concern is why is it working for me only, and not for others. If it doesn't work for me either then I would not have added custom download path block.
Yes, that's really more than strange. Something is messed up with your device. Do a factory reset and try again. And/or try on another device with Android 11+. It will not work!
Probably device specific silly behavior.
That shouldn't amuse Google, given all of its obsession with restrictions.
Extension is updated for API 34: try if this works.
Thanks
I try to Download picture and set to Canvas.
Where is my problem?
testASDdownload.aia (59.6 KB)
Canvas.BackgroundImage
needs an absolute path (not a relative path to the ASD, i.e. not just the fileName).
Now working fine!!
Thanks!
How to hide information from Download Manager (first line at the screen)?
Do you mean download manager notification?
YES that's what I mean.
Okay, then the extension has a property to hide the notification, either uncheck show notification property or set it to false in blocks. This will hide the download manager notification.
This will work in Apk.
so i have a web application that supports downloading reports via blob URL, where when the user clicks a button it will redirect to blob::http://mysite/report/245264363.
any suggestions on what kind of block would be appropriate to handle this case?
thanks for your help.