SlideShare a Scribd company logo
An Introduction to 
+Sebastian Mauer 
GDG Dublin DevFest, November 1st 2014 Android GDE
#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
Stacks Pages Replies 
#androidwear
Notifications 
#androidwear
Apps 
#androidwear
Send data Custom UI Voice 
Actions 
#androidwear
#androidwear
Node 
Message 
Data 
#androidwear
Method 
PendingResult<GetConnectedNodesResult> 
getConnectedNodes(GoogleApiClient); 
client); 
Listener 
public interface NodeListener { 
void onPeerConnected(Node peer); 
void onPeerDisconnected(Node peer); 
} 
Node 
#androidwear
Method 
PendingResult<SendMessageResult> 
sendMessage(GoogleApiClient client, String nodeId, String action, byte[] data); 
Listener 
public interface MessageListener { 
void onMessageReceived(MessageEvent messageEvent); 
} 
Message 
#androidwear
Methods 
PendingResult<DataItemResult> 
putDataItem(GoogleApiClient client, PutDataRequest request); 
PendingResult<DataItemResult> 
getDataItem(GoogleApiClient client, Uri uri); 
Listener 
public interface DataListener { 
void onDataChanged(DataEventBuffer dataEvents); 
} 
Data 
#androidwear
Service 
public class MyListenerService extends WearableListenerService { 
... 
} 
Intent Filter 
<service android:name=".MyListenerService" > 
<intent-filter> 
<action android:name="com.google.android.gms.wearable.BIND_LISTENER" /> 
</intent-filter> 
</service> 
#androidwear
Send data Custom UI Voice Actions 
#androidwear
#androidwear
#androidwear
#androidwear
build.gradle 
dependencies { 
compile fileTree(dir: 'libs', include: ['*.jar']) 
compile 'com.google.android.support:wearable:+' 
compile 'com.google.android.gms:play-services-wearable:+' 
} 
#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
System provided voice action 
<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> 
#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
App provided voice action 
<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> 
#androidwear
Speech Recognizer 
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); 
} 
#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
+Sebastian Mauer 
Thanks! 
Any questions? 
GDG Dublin DevFest, November 1st 2014 Android GDE
Introduction to Android Wear
Introduction to Android Wear

More Related Content

Similar to Introduction to Android Wear

Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave" Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave"
IT Event
 
SimpleModelerによるAndroidアプリ自動生成 with g3/g4
SimpleModelerによるAndroidアプリ自動生成 with g3/g4SimpleModelerによるAndroidアプリ自動生成 with g3/g4
SimpleModelerによるAndroidアプリ自動生成 with g3/g4
Tomoharu ASAMI
 
Your Design Works - Order in the kitchen - plan your website.
Your Design Works - Order in the kitchen - plan your website.Your Design Works - Order in the kitchen - plan your website.
Your Design Works - Order in the kitchen - plan your website.
Fred Moritz
 
GDSC Info Sessiongdsc info session nfsu delhi 23'.pdf
GDSC Info Sessiongdsc info session nfsu delhi 23'.pdfGDSC Info Sessiongdsc info session nfsu delhi 23'.pdf
GDSC Info Sessiongdsc info session nfsu delhi 23'.pdf
GDSCNFSUDelhi
 

Similar to Introduction to Android Wear (20)

Xamarin Evolve 2014 - Designing Android UIs for the Ever Changing Device Land...
Xamarin Evolve 2014 - Designing Android UIs for the Ever Changing Device Land...Xamarin Evolve 2014 - Designing Android UIs for the Ever Changing Device Land...
Xamarin Evolve 2014 - Designing Android UIs for the Ever Changing Device Land...
 
Android Things - The IoT platform for everyone.
Android Things - The IoT platform for everyone. Android Things - The IoT platform for everyone.
Android Things - The IoT platform for everyone.
 
What's new in Android at I/O'16
What's new in Android at I/O'16What's new in Android at I/O'16
What's new in Android at I/O'16
 
WebAR - "Build once, deploy anywhere"
WebAR - "Build once, deploy anywhere"WebAR - "Build once, deploy anywhere"
WebAR - "Build once, deploy anywhere"
 
"Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E...
"Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E..."Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E...
"Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E...
 
Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave" Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave"
 
Telerik Kendo UI Overview
Telerik Kendo UI OverviewTelerik Kendo UI Overview
Telerik Kendo UI Overview
 
OpenMIC March-2012.phonegap
OpenMIC March-2012.phonegapOpenMIC March-2012.phonegap
OpenMIC March-2012.phonegap
 
Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009
 
Droidcon Turin 2015 - Android wear sdk introduction
Droidcon Turin 2015 - Android wear sdk introductionDroidcon Turin 2015 - Android wear sdk introduction
Droidcon Turin 2015 - Android wear sdk introduction
 
Android wear SDK introduction
Android wear SDK introductionAndroid wear SDK introduction
Android wear SDK introduction
 
[DEPRECATED]Gradle the android
[DEPRECATED]Gradle the android[DEPRECATED]Gradle the android
[DEPRECATED]Gradle the android
 
Android Fingerprint Authentication
Android Fingerprint AuthenticationAndroid Fingerprint Authentication
Android Fingerprint Authentication
 
De l'application mobile à l'application web progressive
De l'application mobile à l'application web progressiveDe l'application mobile à l'application web progressive
De l'application mobile à l'application web progressive
 
Session #7 rich and responsive layouts
Session #7  rich and responsive layoutsSession #7  rich and responsive layouts
Session #7 rich and responsive layouts
 
SimpleModelerによるAndroidアプリ自動生成 with g3/g4
SimpleModelerによるAndroidアプリ自動生成 with g3/g4SimpleModelerによるAndroidアプリ自動生成 with g3/g4
SimpleModelerによるAndroidアプリ自動生成 with g3/g4
 
Measuring the Mobile Experience: The Analytics of Handheld UX
Measuring the Mobile Experience: The Analytics of Handheld UXMeasuring the Mobile Experience: The Analytics of Handheld UX
Measuring the Mobile Experience: The Analytics of Handheld UX
 
Event-Driven Design (at O'Reilly Software Architecture conference, NYC, Feb 2...
Event-Driven Design (at O'Reilly Software Architecture conference, NYC, Feb 2...Event-Driven Design (at O'Reilly Software Architecture conference, NYC, Feb 2...
Event-Driven Design (at O'Reilly Software Architecture conference, NYC, Feb 2...
 
Your Design Works - Order in the kitchen - plan your website.
Your Design Works - Order in the kitchen - plan your website.Your Design Works - Order in the kitchen - plan your website.
Your Design Works - Order in the kitchen - plan your website.
 
GDSC Info Sessiongdsc info session nfsu delhi 23'.pdf
GDSC Info Sessiongdsc info session nfsu delhi 23'.pdfGDSC Info Sessiongdsc info session nfsu delhi 23'.pdf
GDSC Info Sessiongdsc info session nfsu delhi 23'.pdf
 

More from Sebastian Mauer (6)

Fame Wrist - Let's bring Hollywood to Android Wear
Fame Wrist - Let's bring Hollywood to Android WearFame Wrist - Let's bring Hollywood to Android Wear
Fame Wrist - Let's bring Hollywood to Android Wear
 
ADD14: ChromeCast and the future of Android TV
ADD14: ChromeCast and the future of Android TVADD14: ChromeCast and the future of Android TV
ADD14: ChromeCast and the future of Android TV
 
Introduction to the Android NDK
Introduction to the Android NDKIntroduction to the Android NDK
Introduction to the Android NDK
 
Introduction to Dart
Introduction to DartIntroduction to Dart
Introduction to Dart
 
Android NDK and the x86 Platform
Android NDK and the x86 PlatformAndroid NDK and the x86 Platform
Android NDK and the x86 Platform
 
Chromecast, CheapCast and TV - DevFest Brussels 2013
Chromecast, CheapCast and TV - DevFest Brussels 2013Chromecast, CheapCast and TV - DevFest Brussels 2013
Chromecast, CheapCast and TV - DevFest Brussels 2013
 

Recently uploaded

一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
kywwoyk
 
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
kywwoyk
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
Amil baba
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
eemet
 

Recently uploaded (6)

一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
Memory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technologyMemory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technology
 
F5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxF5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptx
 
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 

Introduction to Android Wear