Task Manager

Task management for Android

View project onGitHub

TaskManager

Task management for Android

Main functionality

  • Sync (running internally asynchronously) and Async tasks.
  • Task queue management.
  • Priority management.
  • Multithread management.
  • Samples of use.
  • Junit testing.

Description

It used Java thread pool execution, future tasks and more. It is quite simple and robust, perfect to replace Android AsyncTask when you do not need to come back to main thread. Or replace thread executions. It uses observer/observable pattern to callback when sync task finished.

Documentation

You have the JavaDoc files on doc/javadoc directory, and UML diagrams on doc/uml directory.

Class diagram

Class diagram

Contact

Any help or comment to improve this model to make it more simple to understand or obtain a better performance will be gratefully accepted.

Developed by

R2B Apps

If you use TaskManagerLib code in your application you should inform R2B Apps about it ( email: r2b.apps[at]gmail[dot]com ) like this:

Subject: TaskManagerLib usage notification
Text: I use TaskManagerLib <lib_version> in <application_name> - http://link_to_google_play. I [allow | don't allow] to mention my app in section "Applications using TaskManagerLib" on GitHub.

Also We will be grateful if you mention TaskManagerLib in application UI with string "Using TaskManagerLib (c) 2014, R2B Apps" (e.g. in some "About" section).

License

The MIT License (MIT)

Copyright (c) 2014 R2B Apps

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.