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

Motion sensors


Motion sensors let us monitor the motion of a device through space, such as a rotation, swing, shake, or tilt. The movement may be relative to its immediate environment as is the case when you mimic a steering wheel in a car simulation. In this case, we monitor its motion relative to its own frame of reference or that of the application running on it.

However, the movement may also be relative to the environment surrounding the device, namely the world. An example of the latter is determining absolute speed from inside a moving vehicle. The device may be stationary inside the vehicle, but it is moving with respect to the earth at the same speed as the vehicle itself.

The Android platform lets us monitor the motion of a device using a broad array of sensors—some are hardware-based, such as the gyroscope and accelerometer. Others are software-based or they may be hardware-based but dependent on other hardware sensors. Examples are the rotation vector sensor, the gravity sensor...