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:
- Launch Android Studio, and then navigate to the File | New Project menu option.
- Next, enter
WearNotifications
for the Application name field. - Then, provide the name for the Company Domain field.
- Next, choose Project location where you would like to save your application code:
- Finally, click on the Next button to proceed to the next step.
Specifying the form factors
Next, we will need to specify the form factors that our application will use, as will be using a single module instead of the app and wear modules as discussed previously in Chapter 1, Understanding Android Wearables and Building Your First Android Wear App.
On the following screen we will need to choose the minimum SDK version for our phone/tablet and perform the following...