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

Debugging wearable apps


An important and extremely useful tool available to developers is the ability to set up debugging for our wearable apps running on our wearable device. We have the ability to run debug commands from our development machine to troubleshoot our wearable apps and have any debug output from the wearable be sent over to the handheld, which in turn must be connected to the development machine. Some setup is required in order to accomplish this. The general connectivity between devices is as shown in the following diagram:

The greatest payoff here is that we don't need to run two separate USB connections from the development machine—one to the handheld and the other to the wearable device. Instead, we can deploy and debug code straight to the handheld device from the development machine using a Bluetooth connection. This becomes especially helpful when such troubleshooting needs to be performed repetitively during development. Without this feature, we would have to endure...