More than just a pretty face: Implementing an Android Wear OS watch face

By Quintin Balsdon

Elevator Pitch

In this talk I am to give a tutorial on creating and testing an Android Wear OS watch face.

Description

The Wear OS emulator is fairly difficult to test with, and devices are expensive and unreliable (debugging over wifi). So I have taken the Android Wear OS watch face template and created a framework that makes it easy to render your watch faces in an app / app emulator.

Problems with the emulator

Separation of concerns: The Watch Face Renderer Interface

The test harness: Drawing the Watch Face on an Android app

Watch faces that scale

Screenshot tests

Notes

This is for Android engineers who are unfamiliar with WearOS.