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
42
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
98
SQLDelight
bryansills
0
45
Android N Preview
bryansills
0
27
Other Decks in Technology
See All in Technology
AIエージェント開発のノウハウと課題
pharma_x_tech
9
5.5k
リクルートのエンジニア組織を下支えする 新卒の育成の仕組み
recruitengineers
PRO
2
210
役員・マネージャー・著者・エンジニアそれぞれの立場から見たAWS認定資格
nrinetcom
PRO
5
6.9k
「頑張る」を「楽しむ」に変換する技術
tomoyakitaura
8
1.2k
プロダクト開発者目線での Entra ID 活用
sansantech
PRO
0
190
QAエンジニアが スクラムマスターをすると いいなぁと思った話
____rina____
0
210
結果的にこうなった。から見える メカニズムのようなもの。
recruitengineers
PRO
1
130
事業を差別化する技術を生み出す技術
pyama86
2
620
x86-64 Assembly Essentials
latte72
4
730
自分のやることに価値を見出だせるようになり、挑戦する勇気をもらったベイトソンの考え / Scrum Fest Fukuoka 2025
bonbon0605
0
170
【Forkwell】「正しく」失敗できるチームを作る──現場のリーダーのための恐怖と不安を乗り越える技術 - FL#83 / A team that can fail correctly by forkwell
i35_267
2
150
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
550
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
133
9.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Thoughts on Productivity
jonyablonski
69
4.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Fireside Chat
paigeccino
35
3.2k
How to Ace a Technical Interview
jacobian
276
23k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
270
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1.1k
Git: the NoSQL Database
bkeepers
PRO
429
65k
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