FileDownloader alternatives and similar packages
Based on the "Other" category.
Alternatively, view FileDownloader alternatives based on common mentions on social networks and blogs.
-
Guava: Google Core Libraries for Java
Google core libraries for Java -
ZXing Android-Integration
ZXing ("Zebra Crossing") barcode scanning library for Java, Android -
AndroidVideoCache
Cache support for any video player with help of single line -
Gradle Retrolambda Plugin
A gradle plugin for getting java lambda support in java 6, 7 and android -
Android Scripting
SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. -
android-ocr
An experimental app for Android that performs optical character recognition (OCR) on images captured using the device camera. -
AboutLibraries
AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments -
material-camera
One of the most difficult APIs on Android, made easy. -
MasteringAndroidDataBinding
A comprehensive tutorial for Android Data Binding -
Android Priority Job Queue
A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability. -
WeakHandler
Memory safer implementation of android.os.Handler -
Tiny Dancer
An android library for displaying fps from the choreographer and percentage of time with two or more frames dropped -
PermissionHelper
Android Library to help you with your runtime Permissions. -
Gradle buildSrcVersions
Life is too short to google for dependencies and versions -
AwesomeValidation
Android validation library which helps developer boil down the tedious work to three easy steps. -
WheelView-Android
Selector with wheel view, applicable to selecting money or other short length values. -
logback-android
📄The reliable, generic, fast and flexible logging framework for Android -
Android-Link-Preview
It makes a preview from an url, grabbing all the information such as title, relevant texts and images. -
PasswordLoadingView
provide a animation when finished the password -
JsonToJava
I was fed up with writing Java classes to mirror json models. So I wrote this Java app to automate the process. -
AndroidPermissions
Android M was added to check Permission. but Permission check processing is so dirty. -
Fragment-Switcher
An instance-state saving fragment switcher, intended for use with navigation drawers or tabs. -
sixpack-java
A Java client for the Sixpack A/B testing framework https://github.com/seatgeek/sixpack -
Easy Rating Dialog
A plug and play ;) android library for displaying a "rate this app" dialog -
AudioPlayerView
AudioPlayerView is an Android view that loads audio from an url and have basic playback tools. -
validation
Fire eye - Android 输入校验库 - A validation library for android -
UserAwareVideoView
A customized video view that will automatically pause video is user is not looking at device screen!!!!! -
Agile Boiler Plate
A boiler plate that can be re-used to start android apps -
andle
andle is an Android tool help you sync dependencies, sdk or build tool version. -
Typography
**DEPRECATED**. Use the native and support library variants instead - https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html. An android library that makes it easy to add custom fonts to edittexts and textviews -
Teller
Android library that manages your app's cached data with ease. -
Rx.ContentObservable
Content bindings from RxAndroid v0.25.0. -
Android Support library
The Android Support Library package is a set of code libraries that provide backward-compatible versions of Android framework API. -
Google Play Services
Library to access Google services, such as account syncing, Google+ (sharing, single sign-on), Google Maps, Location APIs, Google Play Games, Cloud Messaging, Android Device Manager, and others.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of FileDownloader or a related project?
README
FileDownloader
Android multi-task file download engine.
FileDownloader2
Now, FileDownloader2-OkDownload is released, okdownload will contain all advantage on the FileDownloader and beyond.
Because of FileDownloader unit-test coverage is very low, so all farther features and enhances will be achieved on the okdownload instead of FileDownloader, and FileDownloader will only focuses on bug fixes.
DEMO
Installation
FileDownloader is installed by adding the following dependency to your build.gradle
file:
dependencies {
implementation 'com.liulishuo.filedownloader:library:1.7.7'
}
Snapshots of the development version are available in Sonatype's snapshots
repository, you can include on your gradle project through:
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
Open customize component
From now on, FileDownloader support following components to be customized by yourself:
Name | Interface | Default Impl |
---|---|---|
Connection | FileDownloadConnection | FileDownloadUrlConnection |
OutputStream | FileDownloadOutputStream | FileDownloadRandomAccessFile |
Database | FileDownloadDatabase | RemitDatabase |
ConnectionCountAdapter | ConnectionCountAdapter | DefaultConnectionCountAdapter |
IdGenerator | IdGenerator | DefaultIdGenerator |
ForegroundServiceConfig | ForegroundServiceConfig | ForegroundServiceConfig |
- If you want to use okhttp as your connection component, the simplest way is this repo.
- If you don't want to use any database on FileDownloader(the database on FileDownloader is used for persist tasks' breakpoint info) just using NoDatabaseImpl.java
How to valid it?
Just create your own DownloadMgrInitialParams.InitCustomMaker
and put those customized component to it, finally init the FileDownloader with it: FileDownloader#init
Adaptation
Adapt to Android 8.0
The restriction of background service has been tightened since Android 8.0, for more details, please refer to here. So, after Android 8.0, the download service will be a foreground service when start downloading during app is in background and you will see a notification with a title named "FileDownloader" start from FileDownloader 1.7.6. You can refer to here to custom the notification.
Adapt to Android 9.0
Starting with Android 9.0 (API level 28), cleartext support is disabled by default, you can have a look at here to know about more details. FileDownloader demo has handled this problem start with 1.7.6.
According to the migration notes, the FOREGROUND_SERVICE permission has been added to the library manifest since FileDownloader 1.7.6.
Welcome PR
If you can improve the unit test for this project would be great.
- Comments as much as possible.
- Commit message format follow: AngularJS's commit message convention .
- The change of each commit as small as possible.
Usage
By default, the FileDownloadService runs on the separate process, if you want to run it on the main process, just configure on the filedownloader.properties, and you can use FileDownloadUtils.isDownloaderProcess(Context)
to check whether the FileDownloadService can run on the current process.
For more readable, Moved to Wiki.
LICENSE
Copyright (c) 2015 LingoChamp Inc.
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 all licence references and agreements mentioned in the FileDownloader README section above
are relevant to that project's source code only.