Developing for Android Wear

Developing for Android Wear

Slides used during the GDG Philippines Android Wear Workshop on August 2, 2014 (https://plus.google.com/u/0/events/cj8g5rii9c2scjbgb269q3rfqlo)

57b162d778f0284d2dfe1dbaabd4434e?s=128

Jomar Tigcal

August 02, 2014
Tweet

Transcript

  1. Developing for Android Wear Jomar Tigcal GDG Philippines

  2. Jomar Tigcal • GDG Philippines Community Manager • Mobile Apps

    Developer • Android Developer at Stratpoint Technologies, Inc. • Has personal Android Apps on Google Play Store
  3. Google Developer Group (GDG) Philippines is a group of enthusiastic

    Filipino developers interested to collaborate and learn more about new technologies. http://www.gdgph.org gdgphilippines@gmail.com GDG Philippines @gdgphilippines
  4. Android Wear: Information that moves with you

  5. Android Wear at Google I/O 2014

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

    Information that moves with you • Small, powerful devices, worn on the body.
  7. 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.
  8. Android Wear Smartwatches • LG G Watch (http://www.lg. com/global/gwatch) •

    Samsung Gear Live (http://www.samsung. com/global/microsite/gear/gearlive_design. html) • Moto 360 (https://moto360.motorola.com/)
  9. 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
  10. 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
  11. Designing for Android Wear http://developer.android.com/design/wear/index.html

  12. Suggest: The Context Stream

  13. Demand: The Cue Card

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

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

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

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

    first • Don’t be a constant shoulder tapper
  19. Developing for Android Wear http://goo.gl/CnOEv5

  20. Notifications No work required!

  21. Enhanced Notifications No work required!

  22. Prerequisites • Android Studio 0.8+ • Android Support Library •

    Google Play Services 5+ • Android Wear companion App (Android 4.3 +) • An Android Wear device or Wear AVD
  23. Update from SDK Manager Android 4.4W (API 20): • SDK

    Platform • Android Wear ARM System Image • Android Wear Intel System Image Android Support Library
  24. Create Android Wear Virtual Device • Device - Android Wear

    Round or Square device types • Target - Android 4.4W - API Level 20 • CPU/ABI - Android Wear ARM (armeabi- v7a) • Keyboard - Select Hardware keyboard present • Skin - AndroidWearRound or AndroidWearSquare • Snapshot - Not selected • Use Host GPU - Selected
  25. Pair tablet/phone 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
  26. 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
  27. Demo & Hands-on

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

  29. Resources Android Wear Documentation Android Wear Developers Google+ Community: Android

    Wear Design Guidelines DevBytes: Android Wear I/O Bytes 2014 - Wearables I/O 2014 Videos - Wearables
  30. Questions? Image Source: http://www.talkandroid.com/35960-google-test-market-accidentally-released-reviewed-quickly-pulled/

  31. Thank you very much! http://jomar.tigcal.com jomar@tigcal.com http://google.com/+JomarTigcal @jomartigcal

  32. Sources: • http://www.android.com/wear/ • http://developer.android.com/wear • https://plus.google. com/communities/113381227473021565406

  33. Developing for Android Wear Jomar Tigcal GDG Philippines