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

Let's build a skeleton application


Since we have all the components and configurations needed for building a wearable app, let's build a skeleton app and test out what we have so far.

From Android Studio's Quick Start menu, click on the Import an Android code sample option:

Select Skeleton Wearable App from the Wearable category:

Click Next and select your preferred project location.

As you can see, the skeleton project is cloned from Google's sample code repository from GitHub:

Clicking on the Finish button will pull the source code, and Android Studio will compile and build the code and get it ready for execution.

The following screenshot indicates that the Gradle build has finished successfully without any errors. Click on the green play button as shown in the following screenshot to run the configuration:

When the app starts running, Android Studio will prompt us to select the deployment targets. We can select the emulator we created earlier and click OK:

After the code compiles and...