Watch Face Configuration Companion Activity Utility and Wearable API

Wallace Jackson · Apress eBooks · 2015

Now that you have coded the foundation Activity class for your watch face companion configuration Activity in the mobile section of your project, it is time to create the class that will live in the wear section of your project. This class will define the configuration setting constants and house the functions (methods) that manipulate them, using DataMap, DataItem and DataMapItem objects, along with the Wearable class’s API , DataApi , NodeApi , and MessageApi attributes (data fields). You will be learning all about this Wearable class, and its APIs, during this chapter. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Read the paper · More papers on PaperTik