Chapter    8

A Watch Faces Timing Engine: Using TimeZone, Time, and BroadcastReceiver

Now that you have your CanvasWatchFaceService subclass and private Engine class in place and have your Gradle Scripts, XML assets, Wallpaper object, and preview assets installed where they’re supposed to be, you’re ready to start getting into learning more advanced Java utility classes and Android classes and methods that implement the WatchFaces API.

Topics will get more advanced as you progress through the watch face creation process throughout this book. During this chapter, you’ll be taking an in-depth look at the drawing surface, setting up your watch face styling, time zone management, the Time object, and the time zone broadcasting class that will need ...

Get Pro Android Wearables: Building Apps for Smartwatches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.