Skip to content
Easily upload files (Multipart/Binary/FTP out of the box) in the background with progress indication notification
Kotlin Shell
Branch: master
Clone or download

Latest commit

Latest commit 7f7f10e Apr 9, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update issue templates Apr 9, 2020
assets added 'what do you need' diagram Dec 8, 2019
examples #494 renamed example single notification handler Mar 31, 2020
gradle/wrapper fixes #496 removed LocalBroadcastManager, updated Kotlin to 1.3.71, G… Mar 30, 2020
uploadservice-ftp #470 logger now holds a strong reference to the delegate. Added expli… Nov 16, 2019
uploadservice-okhttp fixes #496 removed LocalBroadcastManager, updated Kotlin to 1.3.71, G… Mar 30, 2020
uploadservice #494 implemented AbstractSingleNotificationHandler Mar 31, 2020
utils/doze-test #227 added utility script to test doze mode and app standby mode Jul 29, 2017
.editorconfig #466 Nov 1, 2019
.gitignore improve code readability and lower errors by using the switch stateme… Feb 25, 2017
.travis.yml 4.0.0-alpha01 (#461) Sep 29, 2019
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Aug 1, 2017
CONTRIBUTING.md Update CONTRIBUTING.md Apr 7, 2020
LICENSE Update LICENSE Feb 8, 2020
README.md Update README.md Feb 9, 2020
SECURITY.md Create SECURITY.md Apr 9, 2020
build.gradle #450 added kotlin lint Oct 20, 2019
generate-debug-apk update debug apk generator script Nov 19, 2017
gradle.properties fixes #496 removed LocalBroadcastManager, updated Kotlin to 1.3.71, G… Mar 30, 2020
gradlew #185 updated gradle, maven plugin and binary plugin Aug 31, 2016
gradlew.bat Added gradle command line build files Jun 23, 2014
local-release 4.0.0-alpha01 (#461) Sep 29, 2019
manifest.gradle updated gradle_versions_plugin Apr 5, 2020
release started adding unit tests for strings Nov 4, 2019
settings.gradle #122 update uploadservice-okhttp module, move out ok http implementat… Jan 11, 2017
uploadservice-logo.png added upload service logo Oct 20, 2019

README.md

Android Arsenal Build Status ktlint Download PRs Welcome

ℹ️ 🆕 Get started with 4.x
📖 Wiki
❤️ Contributing
🌟 Features
🙋 Who is using Upload Service
📣 Credits
📜 License

compose-upload upload

Features

  • Android 5.0 (API 21) to Android 10 (API 29) support
  • tiny library
  • upload files to a server with FTP, HTTP multipart/form-data or binary requests
  • be able to easily implement other upload protocols as plugins
  • handle multiple concurrent uploads in the background, even if the device is idle (Doze mode)
  • automatically retry failed uploads, with a configurable exponential backoff
  • possibility to automatically delete uploaded files when the upload is successful
  • show status in the Android Notification Center (with support for stacking notifications).
  • be able to change the underlying HTTP stack. Currently HttpURLConnection (the default) and OkHttp are supported. You can also implement your own.
  • be able to set library log level and to provide custom logger implementation
  • easily customize the notification with text, icons and actions for the different states
  • Possibility to implement your own notification handler
  • Lifecycle-Aware RequestObserver to monitor your uploads

At the core of the library there is a Service which handles multiple concurrent upload tasks in the background. It publishes broadcast intents to notify status. This way the logic is completely decoupled from the UI. Read further to learn how you can use it in your App.

Powered by Android Upload Service

Apps and libraries powered by this library. To be included in the following list, simply create an issue and provide the app name and a link.

Credits

Created my free logo at LogoMakr.com

License

Copyright (C) 2013-2020 Aleksandar Gotev

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.
You can’t perform that action at this time.