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
46
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
46
Android N Preview
bryansills
0
28
Other Decks in Technology
See All in Technology
なぜAWSを活かしきれないのか?技術と組織への処方箋
nrinetcom
PRO
4
870
今この時代に技術とどう向き合うべきか
gree_tech
PRO
0
840
AI時代こそ求められる設計力- AWSクラウドデザインパターン3選で信頼性と拡張性を高める-
kenichirokimura
3
310
オープンソースでどこまでできる?フォーマル検証チャレンジ
msyksphinz
0
140
技育祭2025【秋】 企業ピッチ/登壇資料(高橋 悟生)
hacobu
PRO
0
100
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3k
Wasmのエコシステムを使った ツール作成方法
askua
0
160
Node.js 2025: What's new and what's next
ruyadorno
0
270
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.8k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
310
コンテキストエンジニアリング入門〜AI Coding Agent作りで学ぶ文脈設計〜
kworkdev
PRO
1
1.1k
リセラー企業のテクサポ担当が考える、生成 AI 時代のトラブルシュート 2025
kazzpapa3
1
160
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.5k
It's Worth the Effort
3n
187
28k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
870
Designing Experiences People Love
moore
142
24k
Music & Morning Musume
bryan
46
6.8k
Into the Great Unknown - MozCon
thekraken
40
2.1k
What's in a price? How to price your products and services
michaelherold
246
12k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
8
910
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Balancing Empowerment & Direction
lara
4
690
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Side Projects
sachag
455
43k
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