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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Zoom.Quiet
September 18, 2014
Technology
0
41
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
180
PyCon2014China-Zhuhai-meta programming
zoomquiet
1
160
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
130
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
110
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
130
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
150
PyCon2014China-Zhuhai-jeff
zoomquiet
0
120
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
150
DevFest2014-Zhuhai-Polymer
zoomquiet
0
450
Other Decks in Technology
See All in Technology
How to install a gem
indirect
0
1.8k
OPENLOGI Company Profile for engineer
hr01
1
61k
ThetaOS - A Mythical Machine comes Alive
aslander
0
210
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
260
The Rise of Browser Automation: AI-Powered Web Interaction in 2026
marcthompson_seo
0
310
Why we keep our community?
kawaguti
PRO
0
310
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
76k
Embeddings : Symfony AI en pratique
lyrixx
0
370
Microsoft Fabricで考える非構造データのAI活用
ryomaru0825
0
120
MCPで決済に楽にする
mu7889yoon
0
150
AIエージェント×GitHubで実現するQAナレッジの資産化と業務活用 / QA Knowledge as Assets with AI Agents & GitHub
tknw_hitsuji
0
260
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Designing Powerful Visuals for Engaging Learning
tmiket
0
300
sira's awesome portfolio website redesign presentation
elsirapls
0
200
Code Review Best Practice
trishagee
74
20k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
RailsConf 2023
tenderlove
30
1.4k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
250
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
150
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
700
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
980
Facilitating Awesome Meetings
lara
57
6.8k
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