Chapter    16

Wear API Deprecation: Updating Apps to Use New Classes or Methods

In Chapter 15, you set up the hardware devices so that they could talk with Android Studio by using the Android Debug Bridge. Then you attempted to get the wear component to show up on a smartwatch so you could test the configuration companion activity. One of the things I tried in my work process was to check for updates to Android Studio and Android SDK.

There had been a major OS update, Android Studio 1.2 (Android 5.2), made available! So I decided to make the process for this update and the deprecated code update part of its own chapter. This chapter will cover the process of updating this project’s wear component, which thus far has not run as expected on the ...

Get Pro Android Wearables: Building Apps for Smartwatches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.