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

I've now checked it again on Android 11 and 12 (Pixel 2XL, Pixel 4XL) with no issues.

ok I will check later and report here.

checked, working after install apk..

1 Like

Result of Avast Lab Test:


Thank you for contacting Avast and reporting a false positive file detection. I'm happy to help.

The reported file was checked by Avast virus specialists and based on the findings the detection was removed. The file is now marked as clean in the Avast virus database. This change may take up to 24 hours to take full effect. Please accept my apology for the inconvenience caused.

If the detection persists after 24 hours, please update the Avast virus database and reply to this email with attached files:

  1. Take a screenshot of the Avast detection dialog (Threat Secured pop-up with See details - displayed at the bottom).
  2. A screenshot of the Avast virus database (open Avast Antivirus and go to Menu > About).

I hope you have a nice day, and stay safe online.

Avast Customer Care Team

1 Like

So the challenge is that all antivirus systems are heuristics because virus authors and antivirus authors are playing a cat-and-mouse game. Virus authors don't want to be caught and antivirus authors want to catch viruses.

We at MIT publish the App Inventor sources publicly on GitHub (GitHub - mit-cml/appinventor-sources: MIT App Inventor Public Open Source). However, folks with less positive intentions can make use of our sources to publish executables that are malicious. Since the heuristic approaches of most AV systems don't typically account for this, sometimes apps built with App Inventor can be flagged as malicious. If, for some reason, you don't trust the software published by MIT, you're welcome download, review, and compile your own version of the sources as we have nothing to hide.

The issues for App Developers are:

  1. The Anti-Virus programs deliver too many false-positives.
  2. The device manufactures fail to update the built-in AV regularly and often.
  3. Users believe the AV and not the facts.

I don't get this virus message anymore (with my extension on my Galaxy Note8).
How about you?

I'm not using the v4 extension, I'm using v2, Huawei take weeks to update their AV.

Does it works on Android 4.1? Even if it asked a permission?

Seems not. Have checked it on Android 4.0.3 - got an error when try to create a subfolder

I think it should work - what exactly was the error wording?

Unable to create folder. Despite of permission granted. Another extension creates folder succesfully.

Try this one:

Android 4.3:

Unfortunately, doesn't work... Android 4.0

Strange! This directory (ASD) should be created automatically by AI2.

My app only creates this folder:

Please check if the ASD exists!

More than strange :slight_smile: I have surprised, but the full path exist in ASD!

But, anyway, after I have started an app again, it shows the same runtime error. Have no any idea...
In my app I'm using the extension "FileTools" by vknow360 - it doesn't show such error..

Ok, of course we can try to get to the bottom of the problem. But does it really make sense to do this for Android < 4.1 devices that almost nobody uses anymore? I do not think so!

Most builders (Kodular, Niotron, ...) use minSdkVersion = 19 or 21 (Android 4.4 or 5), except AI2 (API 7, Android 2.1 - for whatever reason).

I agree. It's very specific problem in my case. I'm making an app for old industrial machine, which works with Android 4.0. I'm not sure that new ones are working under this system. Besides, I have solved my issue with extension which mentioned above. Anyway, thank you, your extension is excellent, I'm using it in other projects.

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?