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

Hola y muchas gracias por tu respuesta Chris !!
Algo debe estar pasando porque la extensión la descargue hoy y he probado con 2 archivos y al parecer no los baja como tal. En Google drive están como csv y los puedo ver con un simple editor de texto, pero cuando los descarga y coloca en la carpeta de la app los he tratado de ver igual con un editor de texto o Excel y los muestra totalmente diferente y con muchos caracteres especiales y ello me lleva a dar errores como es:
Syntax error: quote in unquoted cell
Cannot parse text arfument to "list from csv table" as a CSV- formatted table.

Es por este error que decidí ver los archivos importados y me pude dar cuenta que están totalmente distorsionados,

image

La versión que descargue fue: Built 2022-04-19Z

We would need to see your Blocks Joshua. That data is not a distortion however, it's actually HTML code, so it's possible that you have downloaded the wrong file, or the CSV is really an HTML.

@Josue_Miguel

Your code to download the file is not correct, you are observing the source code of the google page indicating error in downloading the file.

See post #97 and #99:

I got this error while using this special version:

both on ai companion in emulator, and on my cell phone.
Android 11.

Did you try with the APK?
I don't think so. It doesn't work with Companion because this permission is not declared in the Companion's Manifest:
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION"/>

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:

Hello,

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.

Ondrej
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..