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

Debug your Android wearable app over Bluetooth

In this section, we will be taking a look at the steps involved in debugging your wearable application over Bluetooth. This process uses the Android debug bridge to facilitate communications between the handheld and the wearable devices by routing its debug output to the handheld device that is connected to your development machine.

To set up your device for debugging, follow these simple steps:

  1. Enable USB debugging on the handheld device by opening the Settings app and then scrolling down till until you see Developer options.
  2. From the Developer options section, scroll down to and enable USB debugging as shown in the following screenshot:
  3. Next, open the Android Wear companion app on the handheld device. ...

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