Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Alarms, Syncing, and Tasks - Best Practices for Android Background Processing

Android Developers via YouTube

Overview

Coursera Plus Annual Sale: All Certificates & Courses 25% Off!
Explore best practices for managing periodic tasks, alarms, and JobScheduler in Android development through this 30-minute conference talk from the Big Android BBQ 2015. Gain insights into efficient usage of JobScheduler, learn how to avoid common pitfalls in handling background tasks, and discover techniques for optimizing app performance. Delve into topics such as creating services, implementing BroadcastReceivers, setting alarms with AlarmManager, and leveraging JobScheduler effectively. Benefit from the expertise of Joanna Smith, a Google Developer Advocate, as she shares her knowledge on Android best practices and helps developers create excellent Android apps.

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

Reviews

Start your review of Alarms, Syncing, and Tasks - Best Practices for Android Background Processing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.