Creating a wearable send and receive application
In this section, we will take a look at how to create an Android wearable application that will send an image and a message, and display this on our wearable device. In the next sections, we will take a look at the steps required to send data to the Android wearable using DataAPI
, NodeAPI
, and MessageAPIs
.
Firstly, create a new project in Android Studio by following these simple steps:
Launch Android Studio, and then click on the File | New Project menu option.
Next, enter
SendReceiveData
for the Application name field.Then, provide the name for the Company Domain field.
Now, choose Project location and select where you would like to save your application code:
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 using which our application will run. On this screen, we will need to choose the minimum SDK version for our phone/tablet and Android Wear.
Click...