Wearable devices seem to be the next revolution to come. In this presentation, we analyze how to incorporate the Android Wear preview API into our Android app and which are its main features.
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
From your pocket to your wrist with Android Wear
1. Tomás Ruiz-López
Software Design Manager at
Everyware Technologies
@tomasruizlopez
@everywaretech /everywaretech
http://www.everywaretech.es
Android Wear
From your pocket to your wrist with
#gandroid
9. 1 2 3 4
Android Wear
An overview of
API
#gandroid
10. 1 2 3 4
Android Wear
An overview of
API
#gandroid
Eventbox
free on Google Play
11. 1
2 3 4Creating
Notifications
NotificationCompat.Builder notificationBuilder =
new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.event)
.setContentTitle(eventTitle)
.setContentText(eventLocation)
.setContentIntent(viewPendingIntent);
!
// Get an instance of the NotificationManager service
NotificationManagerCompat notificationManager =
NotificationManagerCompat.from(this);
!
// Build the notification and issues it with notification manager.
notificationManager.notify(notificationId, notificationBuilder.build());
Send Notifications as usual
#gandroid
24. 1 2 3
4
Stacking
Notifications
final String GROUP_KEY = "group_key";
!
NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
.setContentTitle("Title")
.setContentText("Text")
.setSmallIcon(R.drawable.event);
!
Notification notif = new WearableNotifications.Builder(builder)
.setGroup(GROUP_KEY)
.build();
#gandroid
25. 1 2 3
4
Stacking
Notifications
final String GROUP_KEY = "group_key";
!
NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
.setContentTitle("Title")
.setContentText("Text")
.setSmallIcon(R.drawable.event);
!
Notification notif = new WearableNotifications.Builder(builder)
.setGroup(GROUP_KEY)
.build();
#gandroid
26. Tomás Ruiz-López
Software Design Manager at
Everyware Technologies
@tomasruizlopez
@everywaretech /everywaretech
http://www.everywaretech.es
Questions?
Thanks for your attention!
#gandroid
27. Tomás Ruiz-López
Software Design Manager at
Everyware Technologies
@tomasruizlopez
@everywaretech /everywaretech
http://www.everywaretech.es
Android Wear
From your pocket to your wrist with
#gandroid