Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JobScheduler
Search
Bryan Sills
May 18, 2016
Technology
0
43
JobScheduler
Presented at Android Listener on May 18th, 2016
Bryan Sills
May 18, 2016
Tweet
Share
More Decks by Bryan Sills
See All by Bryan Sills
Building Gradle Plugins
bryansills
2
100
SQLDelight
bryansills
0
45
Android N Preview
bryansills
0
27
Other Decks in Technology
See All in Technology
TODAY 看世界(?) 是我們在看扣啦!
line_developers_tw
PRO
0
280
kubellが挑むBPaaSにおける、人とAIエージェントによるサービス開発の最前線と技術展望
kubell_hr
1
350
AWS全冠したので振りかえってみる
tajimon
0
150
菸酒生在 LINE Taiwan 的後端雙刀流
line_developers_tw
PRO
0
250
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
220
2025/6/21 日本学術会議公開シンポジウム発表資料
keisuke198619
2
430
「実体」で築く共通認識: 開発現場のコミュニケーション最適化 / Let's Get on the Same Page with Concrete Artifacts: Optimization of Communication in dev teams
kazizi55
0
150
DroidKnights 2025 - Jetpack XR 살펴보기: XR 개발은 어떻게 이루어지는가?
heesung6701
1
150
OpenTelemetry Collector internals
ymotongpoo
5
560
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
51
30k
RubyOnRailsOnDevin+α / DevinMeetupJapan#2
ginkouno
0
790
Model Mondays S2E02: Model Context Protocol
nitya
0
120
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
43
2.4k
How STYLIGHT went responsive
nonsquared
100
5.6k
Speed Design
sergeychernyshev
31
990
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
690
Automating Front-end Workflow
addyosmani
1370
200k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
Faster Mobile Websites
deanohume
307
31k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.8k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Transcript
JobScheduler AKA IntentService is Dead
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
Demo
…But you should actually use GcmNetworkManager • Backported to API
14 • Simpler API • Better documentation • Works everywhere (except for China...)
Sources • https://github.com/bryansills/CityTwitter • https://developers.google.com/cloud-messaging/network-manage • https://github.com/googlesamples/android-JobScheduler • https://github.com/googlesamples/android-gcmnetworkmanager