DEV Community

Jeet for SimpleDownloader

Posted on

SimpleDownloader - an Android downloader manager library designed to simplify complex file downloading behind a simple API

SimpleDownloader got new features, API, and improved the stability.

SimpleDownloader on GitHub: https://github.com/jeetarc/SimpleDownloader

Added on v1.0.0-beta.1 :

  • Build-in foreground service
  • Build-in notifications with actions for pause, resume, cancel, and retry.
  • Notification thumbnails.
  • "DownloadListener" for task callbacks.
  • "TaskListObserver" for observing the complete task list, for updateing RecyclerView, list, etc.
  • Task restoration using "TaskField"
  • Custom "OkHttpClient", headers, cookies, and user-agent support.
  • Checksum verification
  • Better task restoration after reopening the app.
  • Better FileName, and MimeType mode handling.
  • Reworked database structure.
  • and many more

Added on v.1.0.0-beta.2 :

  • Download speed and optimization improvement.
  • Independent progress and notification intervals handling.
  • Lighter thumbnail checks.
  • Missing FileProvider no longer stops path downloads.
  • forceDownload() bypasses concurrency and survives pause/resume
  • TaskField filters for getTask() and getTasks().
  • Simplified onQueued() callback (now contents 3 peramiters).

Added on v1.0.0-beta.3:

  • MediaStore output support on Android 10+.
  • setSubFolder(...). Works with filesystem paths, SAF/document-tree output, and MediaStore output.
  • MediaStore item URI support with overwrite(Uri).
  • TaskField.SUB_FOLDER_PATH.
  • task.getSubFolderPath().
  • setAutoRestore(true) for automatic restore and resume of tasks after app restart.
  • Some other fixes.

Bug reports and feedbacks are welcome.

Top comments (0)