~/talk

Build an Android Wear Watch Face — Adding Small Bits of Info to the Dial

TalkinJapaneseat DroidKaigi 2018 · 2018-02-08..02-09· [android, design-collaboration]
name:syarihu
links:none on file
slides:none on file

A step-by-step Kotlin guide to build an Android Wear watch face that draws time/date with CanvasWatchFaceService, handles ambient-mode background switching, and schedules onTimeTick redraws while centering text via measured bounds. Adds two complications using ComplicationDrawable and the system Complications API, includes a settings UI with WearableRecyclerView, and implements a ComplicationDataProvider (BroadcastReceiver + ComplicationProviderService) that provides a range-type complication which increments when tapped.

AI-written summary · about

  1. 0:00Introduction
  2. 3:05Watch Face API basics
  3. 8:15Digital watch face
  4. 11:49Complications overview
  5. 15:52Placing complications
  6. 24:16Complication data provider
  7. 29:08Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.