All Projects → esafirm → Rxdownloader

esafirm / Rxdownloader

Licence: mit
An Rx wrapper for Download Manager in Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rxdownloader

DownloadManagerPlus
Using faster and easier than Android Download Manager
Stars: ✭ 80 (-25.23%)
Mutual labels:  downloadmanager
Androiddownloader
An powerful download library for Android.
Stars: ✭ 287 (+168.22%)
Mutual labels:  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 (+891.59%)
Mutual labels:  downloadmanager
android-downloader
An powerful download library for Android.
Stars: ✭ 375 (+250.47%)
Mutual labels:  downloadmanager
uget
(WIP) Universal Getter of remote files
Stars: ✭ 46 (-57.01%)
Mutual labels:  downloadmanager
Thindownloadmanager
To download files and to avoid using DOWNLOAD_WITHOUT_NOTIFICATION permission if you are using Android's DownloadManager in your apps.
Stars: ✭ 762 (+612.15%)
Mutual labels:  downloadmanager
Pyload
The free and open-source Download Manager written in pure Python
Stars: ✭ 2,393 (+2136.45%)
Mutual labels:  downloadmanager
Updater
基于DownloadManager封装的更新器,使用超简单!
Stars: ✭ 82 (-23.36%)
Mutual labels:  downloadmanager
dl
Command-line file downloader tool
Stars: ✭ 39 (-63.55%)
Mutual labels:  downloadmanager
Downloader
Downloader for android with pause, resume, cancel, queue options
Stars: ✭ 40 (-62.62%)
Mutual labels:  downloadmanager
electron-download-manager
Manage downloadItems from Electron's BrowserWindows without user interaction, allowing single file download and bulk downloading
Stars: ✭ 113 (+5.61%)
Mutual labels:  downloadmanager
VandaDownloader
强大的下载特性支持,更加清晰的特性设计。
Stars: ✭ 25 (-76.64%)
Mutual labels:  downloadmanager
Wp Downloadmanager
Adds a simple download manager to your WordPress blog.
Stars: ✭ 11 (-89.72%)
Mutual labels:  downloadmanager
scihub
Copernicus Sentinel Science Hub rolling archive downloader
Stars: ✭ 28 (-73.83%)
Mutual labels:  downloadmanager
Fetch
The best file downloader library for Android
Stars: ✭ 1,124 (+950.47%)
Mutual labels:  downloadmanager
Hwifiledownload
HWIFileDownload simplifies file download with NSURLSession on iOS.
Stars: ✭ 209 (+95.33%)
Mutual labels:  downloadmanager
Fast Android Networking
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Stars: ✭ 5,346 (+4896.26%)
Mutual labels:  downloadmanager
Docker Jdownloader
JDownloader 2 Docker Image (Multiarch) - Passed 40M Downloads
Stars: ✭ 85 (-20.56%)
Mutual labels:  downloadmanager
Uget Chrome Wrapper
Moved to https://github.com/ugetdm/uget-integrator and https://github.com/ugetdm/uget-extension
Stars: ✭ 74 (-30.84%)
Mutual labels:  downloadmanager
Download Manager
Download Manager with features like in IDM
Stars: ✭ 36 (-66.36%)
Mutual labels:  downloadmanager

RxDownloader

An Rx wrapper for Download Manager in Android

Usage

To download a file into your download directory (Environment.DOWNLOADS) use download()

String url = "https://upload.wikimedia.org/wikipedia/en/e/ed/Nyan_cat_250px_frame.PNG";
RxDownloader.getInstance(appContext)
            .download(url, "nyancat photo", "image/jpg") // url, filename, and mimeType
            .subscribe(path ->{
                // Do what you want with downloaded path
             }, throwable -> {
                // Handle download faile here
             });

To download file into the directory on the filesystem (Context.getFilesDir()) use downloadInFilesDir()

String url = "https://upload.wikimedia.org/wikipedia/en/e/ed/Nyan_cat_250px_frame.PNG";
RxDownloader.getInstance(appContext)
            .downloadInFilesDir(url, "nyancat photo", "image/jpg") // url, filename, and mimeType
            .subscribe(path ->{ /* file path */  }, throwable -> { /* handle error */ });

You can always use download(DowloadManager.Request request) for more customization and configuration.

You can also look at the sample for complete usage

Gradle

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}
dependencies {
    compile 'com.github.esafirm:rxdownloader:2.0.0'
}

Thanks

  • Vladislav Nikolaev who migrate this library to RxJava2
  • Everyone who has contributed code and reported issues!

License

MIT @ Esa Firman

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