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
Android Ware intro by GDG HK
Search
Zoom.Quiet
September 18, 2014
Technology
0
30
Android Ware intro by GDG HK
for 141018 DevFest Zhuhai
Zoom.Quiet
September 18, 2014
Tweet
Share
More Decks by Zoom.Quiet
See All by Zoom.Quiet
PyCon2014China-Zhuhai-high performance
zoomquiet
0
130
PyCon2014China-Zhuhai-meta programming
zoomquiet
1
99
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
78
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
84
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
60
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
75
PyCon2014China-Zhuhai-jeff
zoomquiet
0
56
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
84
DevFest2014-Zhuhai-Polymer
zoomquiet
0
360
Other Decks in Technology
See All in Technology
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
190
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
170
OTelCol_TailSampling_and_SpanMetrics
gumamon
1
150
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
Terraform Stacks入門 #HashiTalks
msato
0
350
Lexical Analysis
shigashiyama
1
150
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
190
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
600
Featured
See All Featured
Happy Clients
brianwarren
98
6.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Code Review Best Practice
trishagee
64
17k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Navigating Team Friction
lara
183
14k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
How GitHub (no longer) Works
holman
310
140k
Transcript
None
#androidwear
#androidwear
#androidwear
#androidwear
#androidwear
#androidwear
#androidwear
#androidwear
#androidwear
you talk to the wearable #androidwear
actions #androidwear
actions #androidwear
the wearable talks to you actions #androidwear
actions context #androidwear
actions context #androidwear
#androidwear
Launched automatically #androidwear
Glanceable #androidwear
Suggest and demand #androidwear
Zero or low interaction #androidwear
#androidwear
Notifications Apps #androidwear
Notifications #androidwear
#androidwear
#androidwear
#androidwear NO WORK REQUIRED
#androidwear
#androidwear NO WORK REQUIRED
Replies Pages Stacks #androidwear
Notifications #androidwear
Apps #androidwear
Send data Custom UI Voice Actions #androidwear
#androidwear
Node Data Message #androidwear
PendingResult<GetConnectedNodesResult> getConnectedNodes(GoogleApiClient); client); Method public interface NodeListener { void onPeerConnected(Node
peer); void onPeerDisconnected(Node peer); } Listener Node #androidwear
PendingResult<SendMessageResult> sendMessage(GoogleApiClient client, String nodeId, String action, byte[] data); Method
public interface MessageListener { void onMessageReceived(MessageEvent messageEvent); } Listener Message #androidwear
PendingResult<DataItemResult> putDataItem(GoogleApiClient client, PutDataRequest request); PendingResult<DataItemResult> getDataItem(GoogleApiClient client, Uri uri);
Methods public interface DataListener { void onDataChanged(DataEventBuffer dataEvents); } Listener Data #androidwear
<service android:name=".MyListenerService" > <intent-filter> <action android:name="com.google.android.gms.wearable.BIND_LISTENER" /> </intent-filter> </service> Intent
Filter public class MyListenerService extends WearableListenerService { ... } Service #androidwear
Send data Custom UI Voice Actions #androidwear
#androidwear
#androidwear
#androidwear
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.google.android.support:wearable:+' compile
'com.google.android.gms:play-services-wearable:+' } build.gradle #androidwear
#androidwear • BoxInsetLayout • Card Fragment • CircledImageView • ConfirmationActivity
• DismissOverlayView • GridViewPager • GridPagerAdapter • FragmentGridPagerAdapter • WatchViewStub
#androidwear • BoxInsetLayout • Card Fragment • CircledImageView • ConfirmationActivity
• DismissOverlayView • GridViewPager • GridPagerAdapter • FragmentGridPagerAdapter • WatchViewStub
#androidwear • BoxInsetLayout • Card Fragment • CircledImageView • ConfirmationActivity
• DismissOverlayView • GridViewPager • GridPagerAdapter • FragmentGridPagerAdapter • WatchViewStub
#androidwear • BoxInsetLayout • Card Fragment • CircledImageView • ConfirmationActivity
• DismissOverlayView • GridViewPager • GridPagerAdapter • FragmentGridPagerAdapter • WatchViewStub
Send data Custom UI Voice Actions #androidwear
#androidwear
<activity android:name="MyNoteActivity"> <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="com.google.android.voicesearch.SELF_NOTE" /> </intent-filter>
</activity> System provided voice action #androidwear
#androidwear • Call a car/taxi • Take a note •
Set alarm • Set timer • Start/Stop a bike ride • Start/Stop a run • Start/Stop a workout • Show heart rate • Show step count
<activity android:name="StartRunActivity" android:label="MyRunningApp"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </activity> App provided voice action #androidwear
private void displaySpeechRecognizer() { Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); startActivityForResult(intent, SPEECH_REQUEST_CODE); } Speech Recognizer #androidwear
Notifications Apps #androidwear
What’s next? Getting Started with Android Wear developer.android.com/wear Design for
Android Wear developer.android.com/design/wear #androidwear
None
None