Create a new JobService
This is done by extending the JobService class and implementing/overriding the required methods onStartJob() and onStopJob().
public class MyJobService extends JobService
{
final String TAG = getClass().getSimpleName();
@Override
public boolean onStart...