Book Image

Mastering Android Wear Application Development

By : Siddique Hameed, Javeed Chida
Book Image

Mastering Android Wear Application Development

By: Siddique Hameed, Javeed Chida

Overview of this book

Wearable technology is the future of mobile devices. It looks set to be a breakthrough technology, just like the iPad was before it. With the Apple Watch being widely regarded as a success, all eyes are now on Google to provide a similar device for its users. Keep your skills ahead of the competition and be one of the first to fully understand this powerful new trend. This book will give you a very solid understanding of the philosophy, thought process, development details, and methodologies involved in building well-designed, robust Android Wear applications. We cover the advantages and disadvantages of the wearable computing paradigm and provide a good foundational knowledge for you to build practical, real-world wearable apps. You will learn about the various tools, platforms, libraries, SDKs, and technology needed to build Android Wear apps. By the end of the book, you will be an expert in building Android wearable apps.
Table of Contents (18 chapters)
Mastering Android Wear Application Development
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Keeping the watch running


You may recall our discussion of watch faces in the previous chapter wherein a watch face starts out running in interactive mode. As the screen times out, the watch face continues to run as the device goes into its power-saving ambient mode.

While this feature, meaning the watch face's always-on capability, is inherent to watch faces—we don't want our watch to slack off when we want the time—it is not necessarily inherent to all wearable apps. For instance, if we had our todo app or Step counter app active, it would only be a matter of time before the screen timed out and rendered the watch face. If we then wanted to return to our app, we would have to interact with our wearable device to snap it out of ambient mode and bring up our last used activity or app. We can imagine scenarios where this can be a source of user frustration.

Fortunately, if our devices are running Android version 5.1 or higher, we can harness the power of the Android Wear APIs to conserve power...