Slide 1

Slide 1 text

Introduction to Android Wear And Wear UI Patterns

Slide 2

Slide 2 text

Sr. Software Engineer @ InfoStretch Manager, GDG Ahmedabad @pareshmayani Google.com/+PareshMayani

Slide 3

Slide 3 text

Mobile Enablement + Mobile Quality + Mobile Optimization = InfoStretch.com

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

you talk to the wearable

Slide 15

Slide 15 text

actions

Slide 16

Slide 16 text

actions

Slide 17

Slide 17 text

the wearable talks to you actions

Slide 18

Slide 18 text

actions context

Slide 19

Slide 19 text

actions context

Slide 20

Slide 20 text

● 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 Voice Commands

Slide 21

Slide 21 text

Android Wear ecosystem

Slide 22

Slide 22 text

No Play Store on Android Wear

Slide 23

Slide 23 text

Combined APKs Package wearable app inside a handheld app

Slide 24

Slide 24 text

Packaged APK

Slide 25

Slide 25 text

Packaged APK Installs handheld APK

Slide 26

Slide 26 text

Packaged APK Installs handheld APK Pushes Wearable app

Slide 27

Slide 27 text

Creative Vision

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Launched automatically

Slide 30

Slide 30 text

Glanceable

Slide 31

Slide 31 text

Suggest and demand

Slide 32

Slide 32 text

Zero or low interaction

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Interactions

Slide 35

Slide 35 text

Notifications

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

NO WORK REQUIRED

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

NO WORK REQUIRED

Slide 41

Slide 41 text

Replies Pages Stacks

Slide 42

Slide 42 text

UI Patterns

Slide 43

Slide 43 text

Standard cards Single-action controls (such as a play/pause toggle) Expandable stack of cards (for grouping a set of related notifications together) Cards

Slide 44

Slide 44 text

Card stacks group related cards together and allow them to be progressively expanded vertically in the stream. Card Stacks

Slide 45

Slide 45 text

Pages Supplementary information should be displayed on additional cards to the right of a main Context Stream card.

Slide 46

Slide 46 text

In cases where the phone must be used, a generic animation should be played once the action button has been tapped and the corresponding Android app will open on the phone. Continuing activities on phone

Slide 47

Slide 47 text

Where the user may need to take action on the information shown in a notification, you can provide action buttons. Action Buttons

Slide 48

Slide 48 text

Where tapping on an action button results in an action being executed Action countdown and confirmation

Slide 49

Slide 49 text

Some cards may benefit from having tappable actions directly on a card. Action on Cards

Slide 50

Slide 50 text

It allows users to choose from a list of items, and optionally select an attribute of each item. For example, for a social check-in app, you could show a 2D Picker with a vertical list of places to check-in to. 2D Picker

Slide 51

Slide 51 text

It is possible for apps to take action in response to Android voice commands that invoke intents. Voice Commands

Slide 52

Slide 52 text

Choosing an item from a list is a common interaction. Selection List

Slide 53

Slide 53 text

Let’s talk about Wear Programming

Slide 54

Slide 54 text

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.google.android.support:wearable:+' compile 'com.google.android.gms:play-services-wearable:+' } build.gradle

Slide 55

Slide 55 text

● BoxInsetLayout ● Card Fragment ● CircledImageView ● ConfirmationActivity ● DismissOverlayView ● GridViewPager ● GridPagerAdapter ● FragmentGridPagerAdapter ● WatchViewStub Some of the major classes...

Slide 56

Slide 56 text

● BoxInsetLayout ● Card Fragment ● CircledImageView ● ConfirmationActivity ● DismissOverlayView ● GridViewPager ● GridPagerAdapter ● FragmentGridPagerAdapter ● WatchViewStub Some of the major classes...

Slide 57

Slide 57 text

● BoxInsetLayout ● Card Fragment ● CircledImageView ● ConfirmationActivity ● DismissOverlayView ● GridViewPager ● GridPagerAdapter ● FragmentGridPagerAdapter ● WatchViewStub Some of the major classes...

Slide 58

Slide 58 text

● BoxInsetLayout ● Card Fragment ● CircledImageView ● ConfirmationActivity ● DismissOverlayView ● GridViewPager ● GridPagerAdapter ● FragmentGridPagerAdapter ● WatchViewStub Some of the major classes...

Slide 59

Slide 59 text

● Google Developer Groups ● http://developer.android.com/design/wear/index.html ● https://developer.android.com/wear/index.html Sources

Slide 60

Slide 60 text

Thank You! TechnoTalkative.com @pareshmayani http://google.com/+PareshMayani