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

Android Wear Development

uaMobiTech
November 14, 2015

Android Wear Development

By Sergii Kozyrev - https://www.facebook.com/sergii.kozyrev
Summary:
- Induction. What is android wear – how we supposed to use it.
- Android Wear development environment – building, signing, running on AVD and real device.
- Types of applications we can develop for Android Wear
- Android Wear notifications. Common notifications. Wearable extensions.
- Wear Watchfaces – clock hands, additional info, different modes
- Android Wear app – data items, messages, ambiactive support, UI, sensors.
- Demo app

uaMobiTech

November 14, 2015
Tweet

More Decks by uaMobiTech

Other Decks in Programming

Transcript

  1. Environment • Enable developer mode • Wear app goes inside

    apk for release (wear task) • for debug - separate • same version code, same permissions
  2. Apps • Same well known Android • Components should live

    as little as possible • 5 sec inactivity, but not in onPause (due to incoming notification) • Always keep in mind how small battery is
  3. Ambiactive support • wake-lock - BAD, Always on - GOOD

    (WearableActivity - setAmbientEnabled()) • EXTRA_BURN_IN_PROTECTION and EXTRA_LOWBIT_AMBIENT from onEnterAmbient(Bundle) bundle in WearableActivity
  4. WatchFaces • Interactive (Full colors) • Ambiactive (disable background, avoid

    solid regions, 95% should be black) • out of box screen burning protection • Maintain timer in interactive mode and use auto-tick once per minute in ambient • draw it straight on canvas :)