Android Wear
Wearable devices have become very popular of late and Android Wear is fully incorporated into the Android SDK. The setting up of a Wear project is slightly more involved than other projects as wearable devices really act as a companion device with the apps themselves running from a mobile device.
Despite this minor level of complication, developing for wearables can be a lot of fun, not least because they often offer us access to some cool sensors, such as the heart rate monitor.
Connecting to a wearable AVD
It may well be that you have access to a wearable device, but here we will be using emulators in the following exercise. This is because these devices come in two flavors: square and round.
When it comes to pairing one of these emulators with a phone or tablet, this can be done with either a real device or with another emulator, with a real device being preferable as this puts less strain on the computer. These two approaches are slightly different. The following exercise assumes...