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
41
0
Share
Android Ware intro by GDG HK
for 141018 DevFest Zhuhai
Zoom.Quiet
September 18, 2014
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
140
PyCon2014China-Zhuhai-luna kv db
zoomquiet
0
120
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
【AWS】CloudTrail LakeとCloudWatch Logs Insightsの使い分け方針
tsurunosd
0
130
Why we keep our community?
kawaguti
PRO
0
360
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
12
7.3k
FlutterでPiP再生を実装した話
s9a17
0
240
ThetaOS - A Mythical Machine comes Alive
aslander
0
240
JEDAI認定プログラム JEDAI Order 2026 受賞者一覧 / JEDAI Order 2026 Winners
databricksjapan
0
480
Babylon.js Japan Activities (2026/4)
limes2018
0
140
AIにより大幅に強化された AWS Transform Customを触ってみる
0air
0
280
パワポ作るマンをMCP Apps化してみた
iwamot
PRO
0
290
OPENLOGI Company Profile
hr01
0
83k
Move Fast and Break Things: 10 in 20
ramimac
0
110
OPENLOGI Company Profile for engineer
hr01
1
62k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
350
Code Reviewing Like a Champion
maltzj
528
40k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
500
Statistics for Hackers
jakevdp
799
230k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
490
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
New Earth Scene 8
popppiees
2
2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
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