Alarms, Syncing, and Tasks - Best Practices for Android Background Processing
Android Developers via YouTube
Overview
Syllabus
Intro
About the speaker
Don't be this.
What is a service?
Create your service
Override onHandleIntent()
Invoke your service.
Scope
Implementing a BroadcastReceiver
Register your BroadcastReceiver
Implementing a WakefulBroadcastReceiver
Build a GcmListener Service
Setting alarms with AlarmManager
Set an inexact alarm with AlarmManager
Repeating alarms
Set an inexact repeating alarm
1. Create a JobService
Don't forget about jobFinished
Update AndroidManifest.xml
Create a JobScheduler
JobInfo
Totally hypothetical situation
Taught by
Android Developers