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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Bryan Sills
May 18, 2016
Technology
0
47
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
47
Android N Preview
bryansills
0
29
Other Decks in Technology
See All in Technology
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
140
toCプロダクトにおけるAI機能開発のしくじりと学び / ai-product-failures-and-learnings
rince
6
5.5k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
What happened to RubyGems and what can we learn?
mikemcquaid
0
240
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
1
270
入社1ヶ月でデータパイプライン講座を作った話
waiwai2111
1
230
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
2
380
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
850
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
Webhook best practices for rock solid and resilient deployments
glaforge
1
260
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
0
2k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
52
Paper Plane (Part 1)
katiecoart
PRO
0
4k
A Tale of Four Properties
chriscoyier
162
24k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
400
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
The Curse of the Amulet
leimatthew05
1
8.2k
Building the Perfect Custom Keyboard
takai
2
680
Site-Speed That Sticks
csswizardry
13
1.1k
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