Last Updated: February 25, 2016
·
819
· bopbi

Create Tasks Queue in Android

Previously i was using Tape from square to queue my task, but it have some drawback, the most importance is i cannot check whether a task is already inside the queue or not

that is why i choose to create task queue on the sqlite, the structure of the column is:
* Task type
* Task status (Pending, Processed, Success, Failed)
* Task Action (this could be url or id)

it turn out, the biggest effort is writing the Content Provider and the Class Util for the queue.

but the result is equivalent with the effort