Slide 1

Slide 1 text

Jomar Tigcal GDG Philippines Hacktime 2015 Developing for Android Wear

Slide 2

Slide 2 text

Jomar Tigcal GDG Philippines Community Manager Android Developer, Trainer, and Consultant Have Android (and Android Wear) apps on Google Play Store http://jomar.tigcal.com [email protected] http://google.com/+JomarTigcal @jomartigcal

Slide 3

Slide 3 text

GDG Philippines Google Developers Group (GDG) Philippines is a group of enthusiastic Filipino developers interested to collaborate and learn more about new technologies. http://www.gdgph.org

Slide 4

Slide 4 text

GDG Philippines [email protected] GDG Philippines @gdgphilippines /GDGPhilippines

Slide 5

Slide 5 text

EXTENDED Next Week!

Slide 6

Slide 6 text

Android Wear: Information that moves with you

Slide 7

Slide 7 text

Android Wear at Google I/O 2014

Slide 8

Slide 8 text

Introduction to Android Wear

Slide 9

Slide 9 text

Android Wear ● Extends the Android platform to wearables. ● Information that moves with you ● Small, powerful devices, worn on the body.

Slide 10

Slide 10 text

Android Wear ● Useful information when you need it most. ● Intelligent answers to spoken questions. ● Tools to help reach fitness goals. ● Your key to a multiscreen world.

Slide 11

Slide 11 text

Android Wear App Phone/tablet running Android 4.3 and up http://g.co/WearCheck Download at https://play.google.com/store/apps/details? id=com.google.android.wearable.app Image Source: http://www.phonearena.com/news/Official-Android-Wear-App-now-available-in-Google-Play_id57778

Slide 12

Slide 12 text

Android Wear App ● Control voice action preferences ● Adjust notification settings ● Configure devices ● Demo cards ● Tutorial ● Help & Feedback Image Source: http://www.phonearena.com/news/Official-Android-Wear-App-now-available-in-Google-Play_id57778

Slide 13

Slide 13 text

Designing for Android Wear http://developer.android.com/design/wear/index.html

Slide 14

Slide 14 text

Suggest: The Context Stream

Slide 15

Slide 15 text

Demand: The Cue Card

Slide 16

Slide 16 text

Creative Vision for Android Wear ● Launched automatically ● Glanceable

Slide 17

Slide 17 text

Creative Vision for Android Wear ● All about Suggest and Demand ● Zero or low interaction

Slide 18

Slide 18 text

Design Principles for Android Wear ● Focus on not stopping the user and all else will follow ● Do one thing, really fast ● Design for the corner of the eye

Slide 19

Slide 19 text

Design Principles for Android Wear ● Design for big gestures

Slide 20

Slide 20 text

Design Principles for Android Wear ● Think about stream cards first ● Don’t be a constant shoulder tapper

Slide 21

Slide 21 text

Developing for Android Wear developer.android.com/wear

Slide 22

Slide 22 text

Notifications No work required!

Slide 23

Slide 23 text

Enhanced Notifications Custom Actions Wearable-only Actions

Slide 24

Slide 24 text

Android Wear Apps Apps that run directly on the wearable

Slide 25

Slide 25 text

Watch Faces Custom Watch Faces Interactive Watch Faces

Slide 26

Slide 26 text

Prerequisites ● Android Studio 0.8+ ● Android Wear companion App (Android 4.3+) ● An Android Wear device or Android Wear AVD

Slide 27

Slide 27 text

Update from SDK Manager ● Android 4.4W (API 20) or higher > SDK Platform ● Android 4.4W (API 20) or higher > Android Wear ARM System Image ● Android 4.4W (API 20) or higher > Android Wear Intel System Image ● Android SDK Tools 23.0.0 or higher ● Android SDK Platform-tools 23.0.0 or higher ● Android SDK Build-tools 23.0.0 or higher ● Android Support Library ● Google Play Services

Slide 28

Slide 28 text

Create Android Wear Virtual Device ● Open AVD Manager ● Click Create Virtual Device... ● Select Wear in the Category and choose between Square, Round Chin, and Round. Click the Next button. ● Select the release name (e.g. Lollipop) then click the Next button. ● Rename the virtual device (if you like) and change any configuration based on your preference. Click the Finish button.

Slide 29

Slide 29 text

Pair handheld with Android Wear Virtual Device ● Connect the tablet/phone to the computer (via USB) ● Forward the tablet/phone’s communication port to the Android Wear Virtual Device: adb -d forward tcp:5601 tcp:5601 ● Open the Android Wear companion app ● Connect the phone/tablet to the emulator

Slide 30

Slide 30 text

Create an Android Studio Project ● Create a New Project ● Fill up the name and package name ● Select Phone and Tablet ● Select Wear and select API 20: Android 4.4 (KitKat Wear) for minimum SDK ● Add Blank Activity for Mobile ● Add Blank Wear Activity for Wear

Slide 31

Slide 31 text

Unofficial Wearable UI Library compile 'com.google.android.support:wearable:+'

Slide 32

Slide 32 text

Learn More Android Wear Development: Extend your Apps to Android Smartwatches Udacity Course: https://www.udacity.com/course/ud875A Android Wear Documentation: http://developer.android.com/wear Android Wear Developers Google+ Community: http://g.co/androidweardev Android Wear Design Guidelines: http://developer.android.com/design/wear Android Wear Videos: http://androidwear-playlist.tigcal.com

Slide 33

Slide 33 text

Demo & Hands-on androidwear-codelab.tigcal.com

Slide 34

Slide 34 text

Questions? Image Source: http://www.talkandroid.com/35960-google-test-market-accidentally-released-reviewed-quickly-pulled/

Slide 35

Slide 35 text

Thank you! Build something awesome! Submit your projects for GDG HackFair Philippines Provide feedback: talkback.tigcal.com

Slide 36

Slide 36 text

Jomar Tigcal GDG Philippines Hacktime 2015 Developing for Android Wear