Creating an Android Wear Watch Face

In this lab, we are going to walk you through how to create a basic Android Wear watch face, complete with battery level indicator. At the end of our lab, you should have something that looks like the image above. In December 2014, with the release of Android 5.0 (Lollipop) Google also released the official Watch Face API for Android Wear. Prior to this there were hacks which enabled you to do so, however Lollipop adds official support.   Creating the project We are going to be using Android Studio. We’ll assume you already have it installed. If not you can get it here. Start by creating a new project, giving it an application name, company domain and package name. Once you have done that the next step is to choose the platform you want the app to run on. In this case the only one we need to select is Wear and API 21 as shown below.   For the next step choose to Add No Activity .   Click Finish.   Creating the classes The next step is to create the Watch Face class. To do so open the Project View and right click on your package name (under app/java). From the context menu, select New -> Wear -> Watch Face.   Now give your Service a name (for this tutorial we’ll call it “MyWatchFace”) and select the Analog style.   This will create a class containing all the necessary code to create a simple watch face.   Adding in a background The next thing we are going to do is give the watch a background. This will require some adjustments...

Interested in working with us?

Get In Touch