$30 off During Our Annual Pro Sale. View Details »

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. Developing for
    Android Wear
    Jomar Tigcal
    GDG Philippines

    View Slide

  2. Jomar Tigcal
    ● GDG Philippines Community Manager
    ● Mobile Apps Developer
    ● Android Developer at Stratpoint
    Technologies, Inc.
    ● Has personal Android Apps on Google Play
    Store

    View Slide

  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
    [email protected]
    GDG Philippines
    @gdgphilippines

    View Slide

  4. Android Wear: Information that
    moves with you

    View Slide

  5. Android Wear at Google I/O 2014

    View Slide

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

    View Slide

  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.

    View Slide

  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/)

    View Slide

  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

    View Slide

  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

    View Slide

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

    View Slide

  12. Suggest: The Context Stream

    View Slide

  13. Demand: The Cue Card

    View Slide

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

    View Slide

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

    View Slide

  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

    View Slide

  17. Design Principles for Android Wear
    ● Design for big
    gestures

    View Slide

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

    View Slide

  19. Developing for Android Wear
    http://goo.gl/CnOEv5

    View Slide

  20. Notifications
    No work required!

    View Slide

  21. Enhanced Notifications
    No work required!

    View Slide

  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

    View Slide

  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

    View Slide

  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

    View Slide

  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

    View Slide

  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

    View Slide

  27. Demo & Hands-on

    View Slide

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

    View Slide

  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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  33. Developing for
    Android Wear
    Jomar Tigcal
    GDG Philippines

    View Slide