Conceptualizing the chatting application
A login screen with input fields for users to the credentials will look as follows:
The registration screen with input fields will look as follows:
The following screenshot the user screen that shows the list of registered users:
The chat screen with the actual chat messages will look as follows:
The Wear Chat Application will look as follows on round screens:
When a message enters the device, it should notify wear and, from the wear device, users should be able to send a reply to that message. In this chapter, we will see a working mobile and wear chat application.
Understanding Data Layer
Wearable Data Layer API is part of the Google Play services that establishes the communication channel to device apps and wear apps. Using the GoogleApiClient
class, we can get to the Data Layer. Primarily, the Data Layer is used in the Wear app to communicate with the handheld device, but using it for connecting to the network is discouraged. When we create the...