O'Reilly logo

Android Wearable Programming by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a basic notification for wearables

In this section, we will take a look at how to create a basic notification that will be displayed on our wearable device. So let's get started!

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 WearNotifications 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:
    Creating a basic notification for wearables
  5. Finally, click on the Next button to proceed to the next step.

Specifying the form factors

Next, we will need to

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required