Javadoc
This method is invoked from a background thread. You should run your desired task here.
This method is thread safe. Each time a job starts, a new instance of your
Jobis instantiated and executed. You can identify your
Job with the passed
params.
You should call
#isCanceled() frequently for long running jobs and stop your
task if necessary.
A
WakeLock is acquired for 3 minutes for each
Job. If your task
needs more time, then you need to create an extra
WakeLock.