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
Tweet

More Decks by Jomar Tigcal

Other Decks in Technology

Transcript

  1. 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
  2. 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
  3. Android Wear • Extends the Android platform to wearables. •

    Information that moves with you • Small, powerful devices, worn on the body.
  4. 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.
  5. 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
  6. 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
  7. 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
  8. Design Principles for Android Wear • Think about stream cards

    first • Don’t be a constant shoulder tapper
  9. Prerequisites • Android Studio 0.8+ • Android Wear companion App

    (Android 4.3+) • An Android Wear device or Android Wear AVD
  10. 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
  11. 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.
  12. 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
  13. 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
  14. 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
  15. Thank you! Build something awesome! Submit your projects for GDG

    HackFair Philippines Provide feedback: talkback.tigcal.com