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
37
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
97
SQLDelight
bryansills
0
44
Android N Preview
bryansills
0
25
Other Decks in Technology
See All in Technology
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
1
260
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
250
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
210
共創するアーキテクチャ ~チーム全体で築く持続可能な開発エコシステム~ / Co-Creating Architecture - A Sustainable Development Ecosystem Built by the Entire Team
bitkey
PRO
0
880
あなたの知らない Function.prototype.toString() の世界
mizdra
PRO
4
2.2k
SAP Community and Developer Update
sygyzmundovych
0
350
140年の歴史あるエンタープライズ企業の内製化×マイクロサービス化への航海
yussugi
0
810
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
13
1.6k
TypeScript、上達の瞬間
sadnessojisan
49
14k
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
690
The Rise of LLMOps
asei
9
2k
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
200
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Fireside Chat
paigeccino
34
3k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
A Tale of Four Properties
chriscoyier
156
23k
For a Future-Friendly Web
brad_frost
175
9.4k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
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