Apple Watch, Nike FuelBand, Pebble, Jawbone, Fitbit and more Over 720,000 Android Wear devices shipped in 2014 957,000 Apple Watches on the first day of pre-sales More than 1 million Pebble sold since 2013 Big players; Motorola, LG, Samsung, Sony, Asus, Tag Heuer 1201 android-wear tagged questions on StackOverflow; 517 for apple-watch* * data gathered on May the 9th Numbers
Sensor only on Sony SmartWach 3 Gyroscope and Barometer on LG Watch Urbane below 60 grams between 199$ - 350$ Battery Life vary between 1 day to 1.5 day Specs
library (or v13, which includes v4) 400x400 for non-scrolling and 640x400 for parallax scrolling background images in res/drawable-nodpi Other non-bitmap resources in res/drawable-hdpi import android.support.v4.app.NotificationCompat; import android.support.v4.app.NotificationManagerCompat; import android.support.v4.app.NotificationCompat.WearableExtender;
.setSmallIcon(R.drawable.ic_notif) .setContentTitle("HoverBoard is on sale!") .setContentText("Check it out!") .setContentIntent(itemDetailsIntent(context)) .setLargeIcon(BitmapFactory.decodeResource( context.getResources(), R.drawable.bg_hoverboard2 )); // Handheld only actions builder.addAction(R.drawable.ic_add_to_cart, "Add to Cart", addToCartIntent(context)); // Wearable-only actions final NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender(); wearableExtender.addAction( new NotificationCompat.Action( R.drawable.ic_navigation, "Start Navigation", navigationIntent(context)) ); builder.extend(wearableExtender);
.setSmallIcon(R.drawable.ic_notif) .setContentTitle("HoverBoard is on sale!") .setContentText("Check it out!") .setContentIntent(itemDetailsIntent(context)) .setLargeIcon(BitmapFactory.decodeResource( context.getResources(), R.drawable.bg_hoverboard2 )); // Handheld only actions builder.addAction(R.drawable.ic_add_to_cart, "Add to Cart", addToCartIntent(context)); // Wearable-only actions final NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender(); wearableExtender.addAction( new NotificationCompat.Action( R.drawable.ic_navigation, "Start Navigation", navigationIntent(context)) ); builder.extend(wearableExtender);
.setSmallIcon(R.drawable.ic_notif) .setContentTitle("HoverBoard is on sale!") .setContentText("Check it out!") .setContentIntent(itemDetailsIntent(context)) .setLargeIcon(BitmapFactory.decodeResource( context.getResources(), R.drawable.bg_hoverboard2 )); // Handheld only actions builder.addAction(R.drawable.ic_add_to_cart, "Add to Cart", addToCartIntent(context)); // Wearable-only actions final NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender(); wearableExtender.addAction( new NotificationCompat.Action( R.drawable.ic_navigation, “Nearest Shop", navigationIntent(context)) ); builder.extend(wearableExtender);
.setSmallIcon(R.drawable.ic_notif) .setContentTitle("HoverBoard is on sale!") .setContentText("Check it out!") .setContentIntent(itemDetailsIntent(context)) .setLargeIcon(BitmapFactory.decodeResource( context.getResources(), R.drawable.bg_hoverboard2 )); // Handheld only actions builder.addAction(R.drawable.ic_add_to_cart, "Add to Cart", addToCartIntent(context)); // Wearable-only actions final NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender(); wearableExtender.addAction( new NotificationCompat.Action( R.drawable.ic_navigation, "Start Navigation", navigationIntent(context)) ); builder.extend(wearableExtender);
open the app on the handheld final NotificationCompat.Builder builder = new NotificationCompat.Builder(context) .setSmallIcon(R.drawable.ic_notif) .setContentTitle("New Pancake Recipe!") .setContentText("Start making now!") .setContentIntent(openRecipeIntent(context)) .setLargeIcon(BitmapFactory.decodeResource( context.getResources(), R.drawable.bg_pancakes1 ));
as apps built for handheld but differ greatly in design and usability Basically activities with custom layouts Access to sensors and GPU Small in size and functionality
applications Custom notifications issued on the wearable are not synced with handheld When the device goes to sleep, activity gets destroyed No back or home button to exit the app Swiping from the left edge or Long press on the app
tools 23.0.0 or higher API 20 or higher Enable Debug over Bluetooth on both Wearable and Handheld (Android Wear companion app) adb forward tcp:4444 localabstract:/adb-hub adb connect localhost:4444
7.3 features; Channel API and Capability API WatchFace API More to check on Data Layer APIs and UI library Android Wear 5.1 Update; Wi-Fi support, always-on screen, emojis, gesture controls, new app picker and rapid contacts Google IO 15 Sessions Smarter and personalized device authentication with Smart Lock Simplifying app development using the wearable support library Android Wear: Your app and the always-on screen