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

Yeah, but why don't you just try?

Sorry not enough time can someone test never think bad

@Anke Cool Download to ASD extension. What type of apps would require this?

@Anke Edit: What type of app would need this extension to download to the app's directory?
I'm new to this, so I'm just asking.

What do you mean by that?

How can I retrieve the file I downloaded to put it in a videoplayer?

I saw that but it gives error 701 in my code


I have those.I skipped the global count because player will download it only once

I believe you are missing a / in your code

1 Like

Thanks for this wonderful extension.
One question:
every time when downloadcompleted, this message will show up, telling me some file is downloaded.
Howe to disable this?

I didn't get that message as you can see here.
(please translate the message)

OK no problem. Maybe its only on some devices.

or is it because this?

Hi!

So, can anything be done about the "file downloaded" notification?

Does that mean you don't want the notification to appear?

Yes. It also makes a sound.

Try this version of my extension:

Note: You have to add this line to the Manifest:

<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
2 Likes

The app doesn't build with this extension :neutral_face:

In other news, here is an extension that just adds the permission in the manifest.

tsf.download-without-notification-permission.aix (3.9 KB)

I imported this version of the my extension (DownloadToASD_notifHidden.aix) from Kodular to AI2, built the APK (no issues!) and add this line in the Manifest:

<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />

I tested it on an Android 11 device:
It works and no notification apears.
So check it on your device.

1 Like

@anonwins This permission is now declared in the Manifest:

<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />

with the new version of my extension:
DownloadToASD_notifHidden2.aix (7.6 KB)

Note: Use this version of the extension only if you don't want a notification while / after downloading.

1 Like

I imported the extension in another project and it works indeed. So I guess there's some kind of incompatibility with the extensions in the project. I'll check more into it