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

Creating an Android wearable watch face app


Prior to Google releasing the official Android watch face API in December 2014, developers had to find alternative ways to present information inside the watch face layout. In this section, we will take a look at the steps required to create a custom watch face service that will enable us to communicate with our watch and present information within the watch face area on the home screen.

Firstly, create a new project in Android Studio by following these simple steps:

  1. Launch Android Studio, and then navigate to the File | New Project menu option.

  2. Next, enter in CustomWatchFace for the Application name field.

  3. Then, provide the name for the Company Domain field.

  4. Next, choose Project location where you would like to save your application code:

  5. Click on the Next button to proceed to the next step.

    Next, we will need to specify the form factors for our phone/tablet and Android Wear devices that our application will run on. On this screen, we will need to choose...