Upgrade to Pro — share decks privately, control downloads, hide ads and more …

JobScheduler

 JobScheduler

Presented at Android Listener on May 18th, 2016

Bryan Sills

May 18, 2016
Tweet

More Decks by Bryan Sills

Other Decks in Technology

Transcript

  1. What is JobScheduler? • System framework to perform background tasks

    while being respectful of network, battery, and performance constraints • Added in Lollipop (API 21) • Can be used for one-off or periodic tasks • Able to survive reboots • Built-in retry and back-off functionality • Doze compatible
  2. …But you should actually use GcmNetworkManager • Backported to API

    14 • Simpler API • Better documentation • Works everywhere (except for China...)