Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Developing for Android Wear

Jomar Tigcal
December 05, 2015

Developing for Android Wear

Slides of my talk at GDG Philippines HackTime (December 5, 2015)

Jomar Tigcal

December 05, 2015

More Decks by Jomar Tigcal

Other Decks in Technology


  1. Jomar Tigcal GDG Philippines Hacktime 2015 Developing for Android Wear

  2. 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
  3. 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
  4. GDG Philippines [email protected] GDG Philippines @gdgphilippines /GDGPhilippines

  5. EXTENDED Next Week!

  6. Android Wear: Information that moves with you

  7. Android Wear at Google I/O 2014

  8. Introduction to Android Wear

  9. Android Wear • Extends the Android platform to wearables. •

    Information that moves with you • Small, powerful devices, worn on the body.
  10. 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.
  11. 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
  12. 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
  13. Designing for Android Wear http://developer.android.com/design/wear/index.html

  14. Suggest: The Context Stream

  15. Demand: The Cue Card

  16. Creative Vision for Android Wear • Launched automatically • Glanceable

  17. Creative Vision for Android Wear • All about Suggest and

    Demand • Zero or low interaction
  18. 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
  19. Design Principles for Android Wear • Design for big gestures

  20. Design Principles for Android Wear • Think about stream cards

    first • Don’t be a constant shoulder tapper
  21. Developing for Android Wear developer.android.com/wear

  22. Notifications No work required!

  23. Enhanced Notifications Custom Actions Wearable-only Actions

  24. Android Wear Apps Apps that run directly on the wearable

  25. Watch Faces Custom Watch Faces Interactive Watch Faces

  26. Prerequisites • Android Studio 0.8+ • Android Wear companion App

    (Android 4.3+) • An Android Wear device or Android Wear AVD
  27. 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
  28. 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.
  29. 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
  30. 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
  31. Unofficial Wearable UI Library compile 'com.google.android.support:wearable:+'

  32. 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
  33. Demo & Hands-on androidwear-codelab.tigcal.com

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

  35. Thank you! Build something awesome! Submit your projects for GDG

    HackFair Philippines Provide feedback: talkback.tigcal.com
  36. Jomar Tigcal GDG Philippines Hacktime 2015 Developing for Android Wear