Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
QucikSettingsTileAPI
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
funnelbit
September 28, 2016
Technology
390
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
310
BottomBarAndSnackBar
funnelbit
0
560
Dagger2 Optional bindings
funnelbit
0
620
WearableRecyclerView
funnelbit
1
860
Mobile Vision
funnelbit
0
500
AwarenessAPI
funnelbit
0
170
Asynchronous Injection
funnelbit
1
290
Other Decks in Technology
See All in Technology
Running Kotlin + Quarkus with Lambda
nealle
1
4.1k
フィンテック養成勉強会#68
finengine
0
180
トークン化預金DCJPYの取り組みと活用ユースケース
finengine
0
210
CloudWatch Logsのコスト最適化:どこまでAIに任せてどこから人間が承認すべきか
yama3133
0
150
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
1
240
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
150
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
190
局所最適は悪ではない。壊れているのは指標です。量と質を同時に見る先行指標の設計
recruitengineers
PRO
2
220
国際カードブランドルール変更に伴うクレジットカード決済取引仕様変更について
k1style
0
120
その Valkey 使いこなしていますか?
onk
PRO
5
1.8k
Codex を使った障害対応机上演習の実際
orgachem
PRO
0
220
【データ横丁主催】AI エージェント時代のTranslytical Data Platform
shisyu_gaku
0
190
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Done Done
chrislema
187
17k
Fireside Chat
paigeccino
43
4.1k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
490
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
We Have a Design System, Now What?
morganepeng
55
8.4k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
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
͋Γ͕ͱ͏͍͟͝·ͨ͠