Book Image

Android Wearable Programming

By : Steven F. Daniel
Book Image

Android Wearable Programming

By: Steven F. Daniel

Overview of this book

Table of Contents (14 chapters)
Android Wearable Programming
Credits
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Creating, Debugging, and Packaging Wearable Apps

This chapter will provide you with the background and understanding of how you can build and package your own apps for Android Wear. We will learn how we can draw our own Android watch face using Google's official API, and also to present information within the watch area.

We will learn how to create a custom class that inherits from Google's latest watch face service API that will enable us to respond to watch face events to handle screen updates, draw watch face elements, and respond to changes between the interactive and ambient modes.

Finally, we will learn how we can effectively debug an Android wearable application over Bluetooth, and then take a look at the Android design principles to ensure that our application conforms to these. Then we will move on to learn how to package an Android wearable application so that it can communicate and be used by our handheld device.

This chapter includes the following topics:

  • Creating a custom...