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


Bisakah anda membantu menyelesaikan masalah saya?

Remove some (big) files from the assets and try again.

See also here:

Very good extension helps loat

1 Like

How to download a file to subfolder in ASD?

From my example blocks in the first post:

1 Like

6 posts were split to a new topic: Google Drive: Listing files issue

When i try to download several files (one by one), sometime when all files download completed, DownloadProgress still be triggered.


In my case, some time it will show log "downloading 8 of 7..." @Anke

See post #60.

1 Like

10 posts were split to a new topic: How do I save a CSV file in the ASD and share it from there?

if i close screen or app before download complete then download complete or not?

I already have DownloadToASD version 2 installed.

I updated to version 4.

Saved Project.
After a few days I see that the version is 2 again.
I changed it again.
After a few days I see that the version is 2 again.
I changed it again.

What causes this problem?

:woman_shrugging: The assets are probably not updated correctly with Companion. The problem should not occur with the compiled app.

Delete the Companion directory on your test device manually or see here:

I have not test device.
I make APK file and make the tests.

If not upload DownloadToASD ver 4 when make APK I have follow error:

ERROR: appinventor/ai_goup2010/Analizer/Radionika.yail line 293: caught exception in inliner for # - java.lang.RuntimeException: no such class: de.bodymindpower.DownloadToASD.DownloadToASD

Post the aia or send it to me via PM.

I try to connect via PM, but not receive response

Thank you! Very nice!

Thanks for this great extension!

I encountered a strange behavior.
When using it with image files, the downloaded images are smaller than the originals but still visible. However, when using it with PDF or MP3 files, the downloaded files are unreadable and stuck at a size of around 4.2 KB.

Any ideas would be appreciated!

Welcome
You are probably trying to read the file before it has been downloaded completely?
Show your relevant blocks!
Also which Android device and Android version are you using for your tests?

Taifun

Here the related blocks:

Testing device is Realme GT Master Ed. (RMX3363) running Android 13 (realme UI 4).

As far as Ican see the blocks look fine
You could prepare a test project as small as possible, which elicits this issue and add it into this thread, so others could check... .
Let's see, what the author of the extension @Anke is saying...

Taifun