All Projects → SIARAY → DownloadManagerPlus

SIARAY / DownloadManagerPlus

Licence: other
Using faster and easier than Android Download Manager

Programming Languages

java
68154 projects - #9 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to DownloadManagerPlus

Pyload
The free and open-source Download Manager written in pure Python
Stars: ✭ 2,393 (+2891.25%)
Mutual labels:  downloader, download, downloadmanager
Fast Android Networking
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Stars: ✭ 5,346 (+6582.5%)
Mutual labels:  downloader, download, downloadmanager
Docker Jdownloader
JDownloader 2 Docker Image (Multiarch) - Passed 40M Downloads
Stars: ✭ 85 (+6.25%)
Mutual labels:  downloader, download, downloadmanager
Fgdownloader
用于断点下载、任务队列、上传进度、下载进度
Stars: ✭ 143 (+78.75%)
Mutual labels:  downloader, download
Aria2.sh
Aria2 一键安装管理脚本 增强版
Stars: ✭ 1,276 (+1495%)
Mutual labels:  downloader, download
Filedownloader
Multitask、MultiThread(MultiConnection)、Breakpoint-resume、High-concurrency、Simple to use、Single/NotSingle-process
Stars: ✭ 10,408 (+12910%)
Mutual labels:  downloader, download
Flickr Set Get
A simple command line app to download photos from a flickr set
Stars: ✭ 57 (-28.75%)
Mutual labels:  downloader, download
Rxdownloader
Demo of Downloading Songs/Images through Android Download Manager using RxJava2
Stars: ✭ 166 (+107.5%)
Mutual labels:  downloader, downloadmanager
Java Youtube Downloader
Simple, almost zero-dependency java parser for retrieving youtube video metadata
Stars: ✭ 160 (+100%)
Mutual labels:  downloader, download
Youget
YouGet - YouTube Video/Playlist Downloader/Cutter - MP3 Converter
Stars: ✭ 169 (+111.25%)
Mutual labels:  downloader, download
Downloader
Powerful and flexible Android file downloader
Stars: ✭ 193 (+141.25%)
Mutual labels:  downloader, download
Saldl
A lightweight well-featured CLI downloader optimized for speed and early preview.
Stars: ✭ 203 (+153.75%)
Mutual labels:  downloader, download
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-8.75%)
Mutual labels:  downloader, download
4chan Downloader
Python3 script to continuously download all images/webms of multiple 4chan thread simultaneously - without installation
Stars: ✭ 136 (+70%)
Mutual labels:  downloader, download
Fetch
The best file downloader library for Android
Stars: ✭ 1,124 (+1305%)
Mutual labels:  downloader, downloadmanager
Macos Downloader
Command line tool for downloading macOS installers and beta updates
Stars: ✭ 162 (+102.5%)
Mutual labels:  downloader, download
Annie
👾 Fast and simple video download library and CLI tool written in Go
Stars: ✭ 16,369 (+20361.25%)
Mutual labels:  downloader, download
Downloader
Downloader for android with pause, resume, cancel, queue options
Stars: ✭ 40 (-50%)
Mutual labels:  downloader, downloadmanager
Mzdownloadmanager
This download manager uses NSURLSession api to download files. It can download multiple files at a time. It can download large files if app is in background. It can resume downloads if app was quit.
Stars: ✭ 1,061 (+1226.25%)
Mutual labels:  downloader, downloadmanager
Excel Parser Processor
Simply does the tedious, repetitive operations for all rows of excel files step by step and reports after the job is done. It can download files from URL(s) in a column of Excel files. If a new filename is provided at column B it will rename the file before saving. It will even create sub folders if column C is full with a valid folder name.
Stars: ✭ 177 (+121.25%)
Mutual labels:  downloader, download

DownloadManagerPlus

Using faster and easier than Android Download Manager

Screenshots

Screenshot

Getting started

Dependency
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

dependencies {
    //implementation 'ir.siaray:downloadmanagerplus:1.4.1' //last version
    implementation 'com.github.SIARAY:DownloadManagerPlus:1.4.2' // new version
}

Usage

To start the download.
Downloader downloader = Downloader.getInstance(context)
 .setUrl(url)
 .setListener(listener)
 .setToken(token)
 .setAllowedOverRoaming(roamingAllowed)
 .setAllowedOverMetered(meteredAllowed) //Api 16 and higher
 .setVisibleInDownloadsUi(isVisible)
 .setDestinationDir(directory, fileName)
 .setNotificationTitle(notificationTitle)
 .setDescription(description)
 .setNotificationVisibility(visibility)
 .setAllowedNetworkTypes(networkTypes)
 .setKeptAllDownload(allDownloadKept); 
 
downloader.start();
To view download status and progress that has already started.
downloader.showProgress();
To cancel a download.
downloader.cancel(token);
To pause a download.
downloader.pause();
or
Downloader.pause(context, token);
To resume a download.
downloader.resume();
or
Downloader.resume(context, token);
Detect download status.
downloader.getStatus(token);
Delete the downloaded file.
downloader.deleteFile(token, deleteListener);
Get download id.
Downloader.getDownloadId(context, token);
Get download plus token.

downloadId parameter is android download manager id

Downloader.getToken(context, downloadId);
Get download item.
Downloader.getDownloadItem(context, token);
Get downloads list.
Downloader.getDownloadsList(context);
Download Notification BroadcastReceiver.
class YourNotificationBroadcastReceiver extends NotificationBroadcastReceiver{
    @Override
    public void onCompleted(Context context, Intent intent, long downloadId) {
        super.onCompleted(context, intent, downloadId);
    }

    @Override
    public void onClicked(Context context, Intent intent, long[] downloadIdList) {
        super.onClicked(context, intent, downloadIdList);
    }

    @Override
    public void onFailed(Context context, Intent intent, long downloadId) {
        super.onFailed(context, intent, downloadId);
    }
}    

To register YourBroadcastReceiver add to your app Manifest

<receiver android:name=".YourNotificationBroadcastReceiver">
    <intent-filter>
        <action android:name="android.intent.action.DOWNLOAD_COMPLETE"/>
        <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED" />
    </intent-filter>
</receiver>

License

Copyright 2017 Siamak Rayeji

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].