Skip navigation

Create a job scheduler service class

Create a job scheduler service class: Android Development: Concurrent Programming
Create a job scheduler service class: Android Development: Concurrent Programming

The first step in using the JobScheduler API is to create a job service class. It extends the SDK JobService superclass and includes two required methods named onStartJob() and onStopJob(). The onStartJob() method is called by the system when the job is executed. The parameters that are passed in include the job ID you assign when you schedule the job, any extra values you pass in, and a bunch of other useful information.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 52m
Duration
1,964
Views
Show More Show Less
Skills covered in this course
Developer Mobile Apps Android

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now