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

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)

Jomar Tigcal

August 02, 2014
Tweet

More Decks by Jomar Tigcal

Other Decks in Technology

Transcript

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

    Developer • Android Developer at Stratpoint Technologies, Inc. • Has personal Android Apps on Google Play Store
  2. 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 [email protected] GDG Philippines @gdgphilippines
  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 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/)
  6. 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
  7. 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
  8. 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
  9. Design Principles for Android Wear • Think about stream cards

    first • Don’t be a constant shoulder tapper
  10. 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
  11. Update from SDK Manager Android 4.4W (API 20): • SDK

    Platform • Android Wear ARM System Image • Android Wear Intel System Image Android Support Library
  12. 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
  13. 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
  14. 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
  15. 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