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
35
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
92
PyCon2014China-Zhuhai-seed studio
zoomquiet
0
96
PyCon2014China-Zhuhai-Docker Registry Build By Python
zoomquiet
0
110
PyCon2014China-Zhuhai-jeff
zoomquiet
0
86
PyCon2014China-Zhuhai-pythonic front-end
zoomquiet
0
120
DevFest2014-Zhuhai-Polymer
zoomquiet
0
410
Other Decks in Technology
See All in Technology
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
Apache Spark もくもく会
taka_aki
0
140
EncryptedSharedPreferences が deprecated になっちゃった!どうしよう! / Oh no! EncryptedSharedPreferences has been deprecated! What should I do?
yanzm
0
490
COVESA VSSによる車両データモデルの標準化とAWS IoT FleetWiseの活用
osawa
1
400
「その開発、認知負荷高すぎませんか?」Platform Engineeringで始める開発者体験カイゼン術
sansantech
PRO
2
920
2つのフロントエンドと状態管理
mixi_engineers
PRO
3
160
AIエージェントで90秒の広告動画を制作!台本・音声・映像・編集をつなぐAWS最新アーキテクチャの実践
nasuvitz
3
360
メルカリIBISの紹介
0gm
0
490
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
440
「全員プロダクトマネージャー」を実現する、Cursorによる仕様検討の自動運転
applism118
22
12k
slog.Handlerのよくある実装ミス
sakiengineer
4
480
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Scaling GitHub
holman
463
140k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
Facilitating Awesome Meetings
lara
55
6.5k
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