9/23/16

Background work with JobScheduler (Android Development Patterns S3 Ep 12)

Read the blog post (https://goo.gl/rGH4uJ) for all the details on scheduling background work with JobScheduler, available on Android Lollipop (API 21) and higher. JobScheduler batches jobs together across all apps making it a great choice for conserving battery, reducing overall memory pressure on API 24 and higher, and using JobScheduler means you are automatically aware of Doze and App Standby.

Jobs can be persisted across reboots, scheduled to repeat at a set interval, automatically backoff in response to failures, or scheduled with set requirements such as network connectivity or only when the device is idle.

Learn about all of the mechanisms available for scheduling jobs in the documentation: https://goo.gl/PKg7u3


0 comments:

Post a Comment