Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google...

56
Writing for wearables Get going with Android Wear

Transcript of Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google...

Page 1: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Writing for wearables Get going with Android Wear

Page 2: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 3: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

http://misfit.com/ + swarowski

Page 4: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 5: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 6: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 7: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

THE SMART WATCH

Page 8: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Phone usage pattern

Page 9: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

The promise and value proposition of smart

watches

Page 10: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 11: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

http://www.condenaststore.com/-st/Liam-Walsh-Prints_c146834_.htm

Page 12: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

A typical android wear “smart” watch

Page 13: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

http://www.smartinsights.com/managing-digital-marketing/marketing-innovation/technology-for-innovation-in-marketing/

Page 14: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

ANDROID WEAR

Judge by the potential not the present

Page 15: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

What is android wear?

https://www.youtube.com/watch?v=QrqZl2QIz0c

Page 16: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 17: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 18: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Prefefined semantic voice “intents”

• Call car

• Take note

• Set alarm

• Set timer

• Show heart rate

• Show step count

Page 19: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

DESIGN PRINCIPLES

Don’t’ forget: It’s not a small phone!

Page 20: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Think card streams

• Put non-intrusive cards in the

stream

• Only alert / vibrate when

needed – or get blocked

• Remember that cards are

removed – have a fallback

Page 21: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Zero physical interaction

Page 22: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

If you must interact

Page 23: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

And after the interaction - don’t stop the user

Page 24: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Be Contextual and smart

Page 25: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

DEVELOPING FOR

ANDROID WEAR

Lets get down to business

Page 26: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Dev tool checklist

• Check your phone - (http://www.android.com/wear/check/)

• Install Android Developer Tools and Platform

4.3 or a above

• Install SDK tools > v 23

• Update SDK with platform 4.4W.2 (API 20) or 5.0.1L (21)

• Android Studio is the way to go

Page 27: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Bluetooth debugging/transfer of APK

Page 28: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

USB Debugging

Page 29: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Application architecture choices

1. Notification strategy

No application needed on the

wearable device

2. Companion app strategy

Application both on wearable and

handheld

3. (Wearable only app)

Not very usefull at the moment

Page 30: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Bridged and superpowerful notifications

Page 31: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Creating a notification on wearable +

handheld

Page 32: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

COMPANION APP STRATEGY

Extending an existing application for wearables

Page 33: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables
Page 34: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Antipattern

Page 35: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

The wearable use case

Page 36: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Application launch by “start” keyword

Page 37: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Architecture

Google Message

API

REST API

https://www.mashape.com/glennbech/food-facts

Whopper!

Custom UI

Page 38: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Google Play Services

• It was Ninja installed-and around Google IO 2013

• Was “Side loaded” through the Google Play Store app

• Enables Google to update important APIs without platform

updates

• Android 2.3 + devices with the play store application receive

updates

• Provides APIs for Maps, Fit, Drive, Wallet, Analytics, Gaming..

• And Phone – Wearable Communications

Page 39: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Create a Google API Client reference

Page 40: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Connecting to the Google API Client

Page 41: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Architecture

https://www.mashape.com/glennbech/food-facts

Whopper!

Page 42: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

“Talk about where

I smoke the patient”

(voice input is not that reliable outdoors)

Page 43: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Voice input Whopper!

Page 44: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Voice input - results

Page 45: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Sending the message

Page 46: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Architecture

Google

Message API

https://www.mashape.com/glennbech/food-facts

Voice Input

Page 47: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Receive & reply by phone

Page 48: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Receive & reply by phone

Page 49: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Architecture

Google Message

API

REST API

https://www.mashape.com/glennbech/food-facts

Voice Input

Custom UI

Page 50: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Parsing and displaying the data

Page 51: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Custom UI

Page 52: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Unique layouts for square and round

Page 53: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Gotcha

Page 54: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Shape Aware Layout

Page 55: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables

Packaging & distribution of apps

• Wearable apps are packaged within handheld apps

• Handheld devices install them automatically

• Actually packacked in the raw folder

Page 56: Get going with Android Wear for...Google Play Services • It was Ninja installed-and around Google IO 2013 • Was “Side loaded” through the Google Play Store app • Enables