Skip to main content

Watch Face Configuration Companion Activity Utility and Wearable API

  • Chapter
Book cover Pro Android Wearables
  • 2047 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Wallace Jackson

About this chapter

Cite this chapter

Jackson, W. (2015). Watch Face Configuration Companion Activity Utility and Wearable API. In: Pro Android Wearables. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6551-1_14

Download citation

Publish with us

Policies and ethics