A downloader to help in downloading to custom folders

Overview

Murerwa Downloader (Still in development)

Murerwa downloader is a custom downloader library beside the default Android downloader that helps users download files on the fly and save them to folders that the default Android downloader cannot.

Supported Android Versions

Murerwa downloader supports all Android versions since Android 5.0 and API Level 21.

Installing

To install Murerwa Downloader, make sure you have enabled jitpack depositories. Make sure the following dependencies are in your root (project-level) build.gradle file or on your settings.gradle file if you are using Android Studio 2020.3.1 (Arctic Fox) and above.

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

In your app-level build.gradle file, add the following dependency. Check the top of this file for the latest version.

dependencies {
    implementation 'com.github.kmurerwa:murerwa-downloader:Version'
}

Usage

To use Murerwa Downloader in a Fragment or Activity, implement the DownloadInterface in your Fragment/Activity

class MyFragment : Fragment, DownloadInterface {
    ...
}

To initiate a download, create an instance of the FileDownloader class in the Fragment/Activity you want to perform downloads.

val fileDownloader = FileDownloader(
    downloadLink = url,
    context = requireActivity(),
    fileName = "test.jpeg",
    downloadInterface = this
)

Start the download, by simply calling the download function of the class.

fileDownloader.downloadFile()

To observe the download progress of the library, implement to DownloadInterface class in your Fragment.

class MyFragment : Fragment, DownloadInterface {
    ...
}

User Feedback

The DownloadInterface of the Murerwa Downloader library has four functions you can override as shown below.

1. OnDownloadProgressChanged

To keep track of download progress changes, implement the onDownloadProgressChanged function and perform any UI/UX tasks

override fun onDownloadProgressChanged(newProgress: Int) {
    // Maybe show the user the download progress
}

2. OnErrorOccurred

To display error messages if the download fails, override the onErrorOccurred function.

override fun onErrorOccurred(error: String) {
    // Display an error message or log error
}

3. OnDownloadStarted

The library issues a callback when download starts. To show a message, simply override the onDownloadStarted function

override fun onDownloadStarted() {
    // Do something
}

4. OnDownloadCompleted

The library also issues a callback when download completes. To show a message, simply override the onDownloadCompleted function

override fun onDownloadCompleted() {
    // Do something
}

If you do not override any of these functions, a default message is logged to your console.

Contribution

If your would like to contribute to the project, you could complete any of the following tasks;

  1. Allow ability to request storage permissions from inside the library
You might also like...
Kindling - A standalone collection of utilities to help Ignition users. Features various tools to help work with Ignition's custom data export formats 📦📦Video downloader for Android - Download videos from Youtube, Facebook, Twitter, Instagram, Dailymotion, Vimeo and more than 1000 other sites
📦📦Video downloader for Android - Download videos from Youtube, Facebook, Twitter, Instagram, Dailymotion, Vimeo and more than 1000 other sites

youtube-dl-android 📦 An Android client for youtube-dl: https://github.com/rg3/youtube-dl Major technologies Language: Kotlin Architecture: MVVM Andro

The best file downloader library for Android
The best file downloader library for Android

Overview Fetch is a simple, powerful, customizable file download manager library for Android. Features Simple and easy to use API. Continuous download

📦📦Video downloader for Android - Download videos from Youtube, Facebook, Twitter, Instagram, Dailymotion, Vimeo and more than 1000 other sites
📦📦Video downloader for Android - Download videos from Youtube, Facebook, Twitter, Instagram, Dailymotion, Vimeo and more than 1000 other sites

youtube-dl-android 📦 An Android client for youtube-dl: https://github.com/rg3/youtube-dl Major technologies Language: Kotlin Architecture: MVVM Andro

An easy to use Instagram Video Downloader library for android apps.

Instagram-Video-Downloader-Library An easy to use library for directly download videos from ig reels, igtv. Implementation Step 1. Add the JitPack rep

Library for Instagram Image/Video Downloader for Android

Insta Downloader Simple Instagram Image Video Downloader Library for Android Implementation Step 1. Add the JitPack repository to your build file Add

 Youtube Inline Downloader (YTILDL)
Youtube Inline Downloader (YTILDL)

Youtube Inline Downloader (YTILDL) This is a userscript that allows you to download youtube videos by simply clicking a button on the YouTube video. T

Music Player application with you tube downloader
Music Player application with you tube downloader

MusicHub Music Player application with you tube downloader Playing around with Kotlin compose the new UI framework Libraries & technologies used MVVM

Samsung Firmware Downloader with kotlin
Samsung Firmware Downloader with kotlin

Notice Manual firmware downloads and downloading from the firmware history featu

SpotiFlyer - Kotlin Multiplatform Music Downloader ,supports Spotify, Youtube, Gaana, Jio-Saavn and SoundCloud
SpotiFlyer - Kotlin Multiplatform Music Downloader ,supports Spotify, Youtube, Gaana, Jio-Saavn and SoundCloud

SpotiFlyer Kotlin Multiplatform Music Downloader ,supports Spotify, Youtube, Gaa

Cross-plaform desktop manga downloader
Cross-plaform desktop manga downloader

Kotatsu-dl Cross-platform desktop application to download manga from various services Installation Arch linux Package kotatsu-dl-git is available on A

Async file downloader for Android
Async file downloader for Android

What is FileBox FileBox is an async file downloader library for Android. Before we develop filebox, we though that URL content changes very rarely. So

Video/Audio Downloader for Android, written with Jetpack Compose.
Video/Audio Downloader for Android, written with Jetpack Compose.

Seal Video/Audio Downloader for Android, written with Jetpack Compose.

Help-page-finder - Help page finder for android

help-page-finder This app allows to search for help articles on a website. It is

A powerful image downloading and caching library for Android
A powerful image downloading and caching library for Android

Picasso A powerful image downloading and caching library for Android For more information please see the website Download Download the latest AAR from

Demo of Downloading Songs/Images through Android Download Manager using RxJava2
Demo of Downloading Songs/Images through Android Download Manager using RxJava2

Downloader Demo using RxJava Overview This project is for downloading items(songs, images etc) in Android using RxJava2. There are, however 2 conditio

Android app for downloading novels
Android app for downloading novels

QuickNovel Adfree FOSS Android app for downloading novels. Discord: https://discord.gg/5Hus6fM Download: https://github.com/LagradOst/QuickNovel/relea

Manual firmware downloads and downloading from the firmware history feature have been disabled for now.
Manual firmware downloads and downloading from the firmware history feature have been disabled for now.

Notice Manual firmware downloads and downloading from the firmware history feature have been disabled for now. Samsung changed something on the backen

Android app for streaming and downloading Movies, TV-Series and Anime.
Android app for streaming and downloading Movies, TV-Series and Anime.

CloudStream-3 DOWNLOAD: https://github.com/LagradOst/CloudStream-3/releases Discord: https://discord.gg/5Hus6fM Features: AdFree, No ads whatsoever No

Releases(0.0.12-lite)
Owner
Kenneth Murerwa
Java, Python, Front-End Development, JavaScript, C/C++, Android
Kenneth Murerwa
Youtube Inline Downloader (YTILDL)

Youtube Inline Downloader (YTILDL) This is a userscript that allows you to download youtube videos by simply clicking a button on the YouTube video. T

null 1 Jun 13, 2022
Async file downloader for Android

What is FileBox FileBox is an async file downloader library for Android. Before we develop filebox, we though that URL content changes very rarely. So

Lyrebird Studio 311 Dec 25, 2022
Display list of item from local Json and download, view after downloading

Download App Features: ● Display fake responses for the list of videos and books ● choose one or multiple files to download, ● show the download perce

Mahmoud Othman 1 Dec 25, 2021
A service storing files in the cloud, providing a link for downloading.

Zippy The Werewolf About A service storing files in the cloud, providing a link for downloading. The basic idea Zippy The Werewolf will accept any fil

null 1 Mar 17, 2022
SMNetworkChecker aims to help check if the network is connected or if the wifi is connected.

Network Checker for Android SMNetworkChecker aims to help check if the network is connected or if the wifi is connected. Preview Network connection O

Sangmin Kim 3 Aug 5, 2022
Easily upload files (Multipart/Binary/FTP out of the box) in the background with progress notification. Support for persistent upload requests, customizations and custom plugins.

ℹ️ ?? Get started with 4.x ?? Try it out Get the demo APK Still using 3.x ? It's not maintained or supported. You may have security issues and problem

Alex Gotev 2.7k Jan 3, 2023
An App to download a file from Internet by clicking on a custom-built button

LoadApp LoadApp is an app to download a file from the Internet by clicking on a custom-built button where: Width of the button gets animated from left

Anas Tariq 2 Aug 29, 2022
An Interpreter/Transpiler for the Folders esoteric programming language, a language with no code and just folders

Folders2kt ?? An Interpreter/Transpiler of the Folders esoteric programming language, a language with no code and just folders, written in Kotlin Show

Jens Klingenberg 18 Jan 4, 2023
Custom-view-animated-file-downloader - Custom Views, Animations, Broadcast Receivers, Notifications

Downloader App Custom views , Drawing with Canvas, Animations (with motionlayout

null 2 Jun 24, 2022
Flutter plugin that leverages Storage Access Framework (SAF) API to get access and perform the operations on files and folders

Flutter plugin that leverages Storage Access Framework (SAF) API to get access and perform the operations on files and folders.

Vehement 8 Nov 26, 2022