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
QucikSettingsTileAPI
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
funnelbit
September 28, 2016
Technology
380
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
QucikSettingsTileAPI
funnelbit
September 28, 2016
More Decks by funnelbit
See All by funnelbit
Hatena Engineer Seminar #9
funnelbit
5
7.5k
droidkaigi-2017-renovation
funnelbit
10
11k
Dart
funnelbit
0
300
BottomBarAndSnackBar
funnelbit
0
540
Dagger2 Optional bindings
funnelbit
0
610
WearableRecyclerView
funnelbit
1
840
Mobile Vision
funnelbit
0
490
AwarenessAPI
funnelbit
0
160
Asynchronous Injection
funnelbit
1
290
Other Decks in Technology
See All in Technology
入門!AWS Blocks
ysuzuki
1
190
スタートアップにAmazon EKSは早すぎる? マルチプロダクト戦略を加速する Platform Engineeringの実践 / Is Amazon EKS Too Soon for Startups? Practical Platform Engineering to Accelerate a Multi-Product Strategy
elmodev09
1
1.8k
自宅LLMの話
jacopen
1
720
事業会社における 機械学習・推薦システム技術の活用事例と必要な能力 / ml-recsys-in-layerx-wantedly-2026
yuya4
0
160
【FinOps】データドリブンな意思決定を目指して
z63d
0
370
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
0
240
元銀行員がAIだけでアプリを量産!「バイブコーディング実演セミナー 」
tatsuya1970
0
110
Comment regagner la souveraineté de vos données tout en étant payé grâce à Nostr !
rlifchitz
0
200
「勝手に広まる」人気 AI エージェントを爆速で作ろう!(AWS Summit Japan 2026講演資料)
minorun365
PRO
10
2.5k
徹底討論!ECS vs EKS!
daitak
3
1.7k
Agile and AI Redmine Japan 2026
hiranabe
4
480
SteampipeとExcel Power QueryでAWS構成定義書の作成を自動化する
jhashimoto
0
180
Featured
See All Featured
Practical Orchestrator
shlominoach
191
11k
Why Our Code Smells
bkeepers
PRO
340
58k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
So, you think you're a good person
axbom
PRO
2
2.1k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
310
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
220
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
55k
WENDY [Excerpt]
tessaabrams
11
38k
Being A Developer After 40
akosma
91
590k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
610
Transcript
2VJDL4FUUJOHT5JMF "1*
ࣗݾհ ଜྋ גࣜձࣾͯͳ )BUFOBGVOOFMCJU 5XJUUFS!FYQFSPQFSP
2VJDL4FUUJOHT5JMF"1*
2VJDL4FUUJOHT5JMF"1* w ͔Β"1*͕ެ։͞Εͨ w BOESPJETFSWJDFRVJDLTFUUJOHT5JMF w BOESPJETFSWJDFRVJDLTFUUJOHT5JMF4FSWJDF
5JMF
5JMF w TFU*DPO *DPO TFU-BCFM $IBS4FRVFODF TFU$POUFOU%FTDSJQUJPO JOU TFU4UBUF
JOU w VQEBUF5JMF w 5JMFͷঢ়ଶΛөͤ͞Δʢද͕ࣔมΘΔʣ
5JMF public class QuickSettingsService extends TileService { … Tile tile
= this.getQsTile(); … tile.setIcon(…); tile.setTitle(…); tile.updateTile(); }
5JMF4FSWJDF
5JMF4FSWJDF public class QSService extends TileService { @Override public void
onTileAdded() { super.onTileAdded(); } @Override public void onTileRemoved() { super.onTileRemoved(); } @Override public void onClick() { super.onClick(); } @Override public void onStartListening() { super.onStartListening(); } @Override public void onStopListening() { super.onStopListening(); } } w 4FSWJDFͷࢠΫϥε w ܧঝͯ͠͏
5JMF4FSWJDF w PO5JMF"EEFE w 5JMF͕Ճ͞ΕͨΒݺΕΔ w PO5JMF3FNPWFE w
5JMF͕আ͞ΕͨΒݺΕΔ w PO$MJDL w 5JMF͕ΫϦοΫͨ͠ΒݺΕΔ
5JMF4FSWJDF w PO4UBSU-JTUFOJOH w Ϧεχϯάঢ়ଶʹೖͬͨΒݺΕΔ w PO4UPQ-JTUFOJOH w
Ϧεχϯάঢ়ଶͰແ͘ͳͬͨΒݺΕΔ
"OESPJE.BOJGFTU
"OESPJE.BOJGFTU <service android:name=".QuickSettingsService" android:icon="@drawable/ic_android_black_24dp" android:label="@string/tile_label" android:permission="android.permission.BIND_QUICK_SETTINGS_ TILE"> <intent-filter> <action android:name="android.service.quicksettings.action.QS_TILE"
/> </intent-filter> </service>
"OESPJE.BOJGFTU <service android:name=".QuickSettingsService" android:icon="@drawable/ic_android_black_24dp" android:label="@string/tile_label" android:permission="android.permission.BIND_QUICK_SETTINGS_ TILE"> <intent-filter> <action android:name="android.service.quicksettings.action.QS_TILE"
/> </intent-filter> </service>
5JMF4FSWJDF TUBSU"DUJWJUZ"OE$PMMBQTF TIPX%JBMPH VOMPDL"OE3VO
TUBSU"DUJWJUZ"OE$PMMBQTF w "DUJWJUZىಈ͠2VJDL4FUUJOHTΛͨͨΜͰ͘ΕΔ w ϩοΫதͩͱͨͨΊͳ͍ʢ"DUJWJUZىಈ͢Δʣ public class QSIntentService extends TileService
… Intent intent = new Intent(getApplicationContext(), ResultActivity.class); startActivityAndCollapse(intent); … }
TIPX%JBMPH w 2VJDL4FUUJOHTΛดͯ͡%JBMPHΛग़͢ w ϩοΫதͩͱͨͨΊͳ͍ʢ%JBMPHىಈ͢Δʣ public class QSDialogService extends TileService
{ … DialogFragment dialog = DialogFragment.create(); showDialog(dialog); … }
VOMPDL"OE3VO w ʮΞϯϩοΫͨ͠Βಈ͘ʯॲཧ͕͔͚Δ public class QSService extends TileService { …
@Override public void onClick() { unlockAndRun(new Runnable() { @Override public void run() { Log.e("ಈ͘Α", "΄͓͓͓͓͓͓͓"); } }); } … }
·ͱΊ w ཱͯΕΔ͔Ͳ͏͔ϓϩμΫτʹΑΔ w ʮϩοΫதԡͤΔʯͱ͍͏ͷ͕ϙΠϯτ w Ϣʔβʹ͓͍ͯΒ͏ಋઢΛͲ͏͢Δ͔ʁ
ࢀߟ w IUUQTDPEFMBCTEFWFMPQFSTHPPHMFDPN DPEFMBCTBOESPJEORVJDLTFUUJOHT JOEFYIUNM JOEFY''JP
͋Γ͕ͱ͏͍͟͝·ͨ͠