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
36
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
160
PyCon2014China-Zhuhai-meta programming
zoomquiet
1
130
PyCon2014China-Zhuhai-bpm.py
zoomquiet
0
110
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
93
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
100
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
120
PyCon2014China-Zhuhai-jeff
zoomquiet
0
92
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
120
DevFest2014-Zhuhai-Polymer
zoomquiet
0
420
Other Decks in Technology
See All in Technology
Observability — Extending Into Incident Response
nari_ex
1
590
Raycast AI APIを使ってちょっと便利なAI拡張機能を作ってみた
kawamataryo
0
190
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
290
GraphRAG グラフDBを使ったLLM生成(自作漫画DBを用いた具体例を用いて)
seaturt1e
1
160
だいたい分かった気になる 『SREの知識地図』 / introduction-to-sre-knowledge-map-book
katsuhisa91
PRO
3
1.5k
20251024_TROCCO/COMETAアップデート紹介といくつかデモもやります!_#p_UG 東京:データ活用が進む組織の作り方
soysoysoyb
0
130
スタートアップの現場で実践しているテストマネジメント #jasst_kyushu
makky_tyuyan
0
140
AIとの協業で実現!レガシーコードをKotlinらしく生まれ変わらせる実践ガイド
zozotech
PRO
1
150
SOTA競争から人間を超える画像認識へ
shinya7y
0
630
abema-trace-sampling-observability-cost-optimization
tetsuya28
0
380
【SORACOM UG Explorer 2025】さらなる10年へ ~ SORACOM MVC 発表
soracom
PRO
0
170
もう外には出ない。より快適なフルリモート環境を目指して
mottyzzz
14
11k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Facilitating Awesome Meetings
lara
57
6.6k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Done Done
chrislema
185
16k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Git: the NoSQL Database
bkeepers
PRO
431
66k
KATA
mclloyd
PRO
32
15k
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