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
How to make App Shortcuts
Search
bowyer-app
March 11, 2017
Technology
0
38
How to make App Shortcuts
Document of Android Weekends 03/11/17.
bowyer-app
March 11, 2017
Tweet
Share
More Decks by bowyer-app
See All by bowyer-app
CA.apk #7 運用5年以上のAmebaアプリで取り組んでいること
bowyer
0
260
sqlbrite with AutoValue
bowyer
1
420
Other Decks in Technology
See All in Technology
JSON攻略法.pdf
miyakemito
8
5.1k
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.7k
TechFeed Experts Night#27 〜 フロントエンドフレームワーク最前線 (Svelte)
baseballyama
1
540
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
7
3.8k
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
7
1.4k
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
1
170
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
3
920
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
require(ESM)とECMAScript仕様
uhyo
3
800
Janus
bkuhlmann
1
490
VS CodeでAWSを操作しよう
smt7174
8
1.7k
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
250
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
What's new in Ruby 2.0
geeforr
337
31k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Building Your Own Lightsaber
phodgson
99
5.7k
How to train your dragon (web standard)
notwaldorf
73
5.2k
Code Reviewing Like a Champion
maltzj
514
39k
KATA
mclloyd
15
12k
A designer walks into a library…
pauljervisheath
200
23k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Transcript
How to make App Shortcuts bowyer-app Android Weekends 03/11/17
About me • Google lover • Gadget collector • 22
Android devices • 4 Android wear devices • 6 iOS devices • About ¥1,500,000 spend devices since 2010.
Table of contents • What are App Shortcuts? • How
to implement App Shortcuts • Actually used App Shortcuts?
What are App Shortcuts? • The shortcut that can use
at the launcher • Shortcuts provides specific action in your app, when user selects the one.
Difference to 3D Touch "OESPJE J1IPOF 04 "OESPJEPWFS J04PWFS )BSEXBSF
/PUIJOH %FQFOETPO )BSEXBSF
How to implement App Shortcuts
build.gradle settings
Chose Implementation method • Static Shortcuts • Dynamic Shortcuts
Which is better Static or Dynamic?
Static Shortcuts • Static shortcut is a shortcut that will
not be changed depending on the state of the app etc.
Dynamic Shortcuts • Dynamic shortcuts is a shortcut that will
be changed depending on the state of the app etc.
Implementation of Static Shortcuts
Create shortcuts.xml
Add meta-data to AndroidManifest.xml
Implementation of Dynamic Shortcuts
Create ShortcutManager
Example of App Shortcuts
Put extra values into intent of Static Shortcuts xml
Handle intent
Change Fragment
Actually used App Shortcuts?
Information for the data for reference KyudoScoreBook • Total downloads
: 15,000 • DAU : 1,000 • Android 7.1 user : 1%ʢ10 people /day)
It is not used at all lol.
Sample Code and post • “KyudoScoreAppShortcuts” - bowyer-app https://github.com/bowyer-app/ KyudoScoreAppShortcuts
• “How to build App Shortcuts” - bowyer- app.com http://bowyer-app.com/2017/03/how-to- build-app-shortcuts/