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
Launcher shortcuts
Search
funnelbit
April 26, 2016
Technology
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Launcher shortcuts
funnelbit
April 26, 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
QucikSettingsTileAPI
funnelbit
0
380
Mobile Vision
funnelbit
0
490
AwarenessAPI
funnelbit
0
160
Other Decks in Technology
See All in Technology
SONiCのLinuxベースを活かしたZabbix監視
sonic
0
230
OTel × Datadog で 「AI活用」を計測し、改善に繋げる
shihochan
2
440
Claude Codeをどのように キャッチアップしているか
oikon48
13
8.6k
就職⽀援サービスにおけるキャリアアドバイザーのシフトスケジューリング
recruitengineers
PRO
1
150
Lightning近況報告
kozy4324
0
200
GitHub Copilot app最速の発信の裏側
tomokusaba
1
190
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
1.3k
[AWS Summit Japan 2026]迷っているあなたへ_小さな一歩が、やがて自分を助けてくれる
sh_fk2
1
170
「勝手に広まる」人気 AI エージェントを爆速で作ろう!(AWS Summit Japan 2026講演資料)
minorun365
PRO
9
2k
Oracle Cloud Infrastructure:2026年6月度サービス・アップデート
oracle4engineer
PRO
0
130
LayerXにおけるセキュリティ管理の現在地と次の一手
tosho
0
250
Kiro Ambassador を目指す話
k_adachi_01
0
110
Featured
See All Featured
Docker and Python
trallard
47
3.9k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
430
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
370
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Speed Design
sergeychernyshev
33
1.9k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
160
Rails Girls Zürich Keynote
gr2m
96
14k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
850
Agile that works and the tools we love
rasmusluckow
331
21k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
Abbi's Birthday
coloredviolet
2
8.1k
Transcript
-BVODIFSTIPSUDVUT
͜Μʹͪ w ଜྋ w גࣜձࣾͯͳ w )BUFOBGVOOFMCJU w 5XJUUFS!FYQFSPQFSP
"OESPJE/1SFWJFX w 7VMLBO w -BVODIFSTIPSUDVUT w &NPKJ6OJDPEFTVQQPSU w pY
"OESPJE/1SFWJFX w 7VMLBO w -BVODIFSTIPSUDVUT w &NPKJ6OJDPEFTVQQPSU w pY
-BVODIFSTIPSUDVUT w ΞΫγϣϯΛࢦఆ͠ɺΞϓϦΛϥϯνϟ͔Βى ಈͰ͖ΔΈ w ʮࠓҿΈձͰؼΓ͘ͳΔʯͱϝʔϧ w ࠷ޙͷηʔϒϙΠϯτ͔ΒήʔϜελʔτ
ొਓ w γϣʔτΧοτΛެ։͢Δଆ w 4IPSUDVU*OGP w 4IPSUDVU.BOBHFS w γϣʔτΧοτΛݺͼग़͢ଆ w
-BVODIFS"QQT
γϣʔτΧοτΛ ެ։͢Δଆ
4IPSUDVU*OGP Intent intent = new Intent(this, MainActivity.class); intent.putExtra(EXTRA_ITEM, "itemͩͧ");
return new ShortcutInfo.Builder(this) .setId("first") .setTitle("͜Μʹͪ") .setText("Αͬ͠Ό͍ͧ͘") .setWeight(3) .setIcon(Icon.createWithResource(this, R.mipmap.ic_launcher)) .setIntent(intent) .build();
4IPSUDVU.BOBHFS ShortcutManager shortcutManager = (ShortcutManager)getSystemService(Context.SHORTCUT_SERVICE) ; shortcutManager.addDynamicShortcut(shortcutInfo);
TIPSUDVU w BECTIFMMEVNQTZTTIPSUDVU
γϣʔτΧοτΛ ݺͼग़͢ଆ
-BVODIFS"QQTHFU4IPSUDPVU*OGP List<String> ids = new ArrayList<>(); ids.add("first"); List<ShortcutInfo> shortcuts
= mLauncherApps.getShortcutInfo( "com.experopero.launchershortcutsapplication", ids, userHandle ); for (ShortcutInfo shortcutInfo : shortcuts) { Log.e("title", shortcutInfo.getTitle()); }
-BVODIFS"QQTTUBSU4IPSUDVU mLauncherApps.startShortcut( shortcutInfo.getPackageName(), shortcutInfo.getId(), null, null, userHandle);
-BVODIFS"QQT4IPSUDVU2VFSZ LauncherApps.ShortcutQuery query = new LauncherApps.ShortcutQuery(); query.setPackage("com.experopero.hogeapp"); // query.setActivity(new ComponentName(“packageName”,
“ActivityName”)) // query.setChangedSince(long) query.setQueryFlags(LauncherApps.ShortcutQuery.FLAG_GET_DYN AMIC);
-BVODIFS"QQHFU4IPSUDVUT List<ShortcutInfo> shortcuts = mLauncherApps.getShortcuts( query, mUserManager.getUserProfiles().get(0)); …
⾠ w େͳใΛγϣʔτΧοτͷதʹೖΕͳ͍ w γϣʔτΧοτҰͭͷΞϓϦʹ͖ͭ·Ͱ w σϑΥϧτͷϥϯνϟͷΈڐՄ͞ΕΔ"1*͋Δ w HFU4IPSUDVU*OGP HFU4IPSUDVUT
HFU4IPSUDVU*DPO3FT*Eʜ
ॴײ w ԿͷͨΊͷΈͳͷ͔ʁ w %5PVDIΈ͍ͨͳͷ͕དྷΔʁ
͋Γ͕ͱ͏͍͟͝·ͨ͠