luthfipun / CkDownloader-Android

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

Home Page:https://github.com/luthfipun/CkDownloader-Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CkDownloader Android

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

Download

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'
    }

Usage

You can follow sample project on this

Notes

  • 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 :)

About

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

https://github.com/luthfipun/CkDownloader-Android


Languages

Language:Kotlin 100.0%