An Android library for downloading files, particularly videos or audio, using the download segment chunks method while passing header range bytes. Typically utilized for servers that support header range bytes, bypass throttle web server and partial stream 206
This is network tracking behind downloading files
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency
dependencies {
implementation 'com.github.luthfipun:CkDownloader-Android:0.2'
}
You can follow sample project on this
- Host server must supported header content length ranges bytes, if not the downloaded file will be corrupted
- Not support pause/resume for now, just delete and re-download
- Feel free for pull request :)