[ FREE] ] Customdownloader Extension

[ FREE ] Customdownloader Extension

:earth_americas: Released on : 28 October 2023

:earth_americas: Updated on : 28 October 2023

:gear: Latest Version : 1.0

All Blocks

Screenshot 2023-10-28 134002
Screenshot 2023-10-28 134055

Documentation

Screenshot 2023-10-28 134327

Event triggered when an error occurs during download.

Screenshot 2023-10-28 134500

Successful Download downloadId, filePath, fileSize, fileName

Screenshot 2023-10-28 134600

Event triggered to report download progress, speed, eta, fileSize, and downloadedSize

Screenshot 2023-10-28 134936

Download the file of given URL to the given path with

CustomFilePath.isEmpty : filePath = /storage/emulated/0/Download

Sat This CustomFilePath : /storage/emulated/0/Download/any folder name

Screenshot 2023-10-28 135211

Set the custom notification title for download complete notification.

Screenshot 2023-10-28 135308

Set the custom notification message for download complete notification.

Screenshot 2023-10-28 135521

Get a list of all download IDs

Screenshot 2023-10-28 135605

Get the ASD path of your app

Screenshot 2023-10-28 135735

Get the current download ID.

Screenshot 2023-10-28 135839

Cancel all ongoing downloads.

Screenshot 2023-10-28 135924

This block converts the bytes into KB and MB automatically, You can use own calculation for converting bytes into big units.

Screenshot 2023-10-28 140019

Get the downloaded size for a specific download ID

Screenshot 2023-10-28 140202

These blocks pause/resume/cancel the download for given id. Download will be restarted when the download is cancelled.

Notification

274290123-6a3fbffd-526a-4654-888f-1b17e658aa57

These blocks pause/resume/cancel the download for given id. Download will be restarted when the download is cancelled.

274290486-6f1f9453-3ac8-416d-ab4f-e7750151b6eb

download complete notification You can customize the title and message display here

How to Use

Screenshot 2023-10-28 140959

CustomFilePath.isEmpty : filePath = /storage/emulated/0/Download

Sat This CustomFilePath : /storage/emulated/0/Download/any folder name

Screenshots

274291966-a292d485-4a3a-40c1-969f-b6a9cf042f24

notification permission automatically show

274292185-8883a170-c574-4d4a-a5e9-8136cf216e6a

Download

:earth_americas: Released on : 28 October 2023

:earth_americas: Updated on : 28 October 2023

:gear: Latest Version : 1.0

com.R2Store.customdownloader.aix (21.1 KB)

6 Likes

The extension should / must declare WRITE_EXTERNAL_STORAGE permission in the Manifest for maxSdkVersion=29, because if you do not want to download into the ASD, this permission must be requested on Android < 11.

In addition, storage permissions are also required for the ASD on Android < 4.4 (API 19, KitKat).
And the minSdkVersion is 7 (Android 2.1, Eclair) for AI2.

3 Likes

I hope this is the last time you post this extension. This is your third topic about it.

3 Likes