Skip to content

Most visited

Recently visited

navigation

Android Wear Release Notes

This page contains information related to Android Wear.

2017-Oct-25 Ambient Mode and More

This section contains information about new Android Wear features.

Android Support Library, v27.0.0: Features and bugfixes

The 27.0.0 version of the Android Support Library contains new features for Wear, described below.

New, preferred way to support ambient mode

Ambient mode enables a Wear app to remain visible to a user when the device goes idle. The Android Support Library has a new, preferred way for your apps to use ambient mode. The Wear team seeks developer feedback about this significant change.

Specifically, using the AmbientMode class enables you to benefit from:

See Ambient Mode Using the AmbientMode Class.

Manifest metadata constants in the Android Support Library

Constants for Android Wear apps, for the meta-data tag in the Android Manifest file, are now available in the Android Support Library. To use the constants (for standalone apps, notification bridging mode, and watch face preview images), add a reference to the following in the dependencies section of the app module's build.gradle file (requires the latest version of the Google Repository):

compile 'com.android.support:wear:27.0.0'

Action drawer updates

Updates are available to the WearableActionDrawerView class, which is used for creating a wearable action drawer. In the latest version:

Inflation of the RoundedDrawable class

Assuming an API level of at least 24, the RoundedDrawable class can now be inflated from a drawable XML file; see Custom drawables.

Wearable Support Library, v2.1.0: Enhancements and more

The 2.1.0 version of the Wearable Support Library includes the updates described below and requires Android Support Library version 26.0.2 or higher.

Supplying burn-in-safe images for ambient mode

The ComplicationDrawable class enables you to supply burn-in-safe images for ambient mode. Specifically, a ComplicationData object's burn-in protection small image field enables a watch face to display a small image (in the SMALL_IMAGE complication type) in ambient mode, when burn-in protection is enabled.

Tap event updates for complications

The ComplicationDrawable class has a new onTap method that enables your watch face to pass tap events to complications. The new method builds on the existing functionality in which a tap on the watch face triggers the WatchFaceService.Engine.onTapCommand method.

You can pass the coordinates to a ComplicationDrawable with an onTap call, to launch the action associated with the ComplicationDrawable that contains the tap coordinates. When the new onTap method is called, you can use a return value of true to see if a ComplicationDrawable launched the action associated with it.

Additionally, the setHighlightDuration method sets the duration for a complication to remain highlighted after the onTap method is called.

Progress bar for ranged value complications

If you prefer to draw your own progress bar for ranged value complications in your watch face, you may use the setRangedValueProgressHidden method of the ComplicationDrawable class to hide the ranged value progress that's drawn by the ComplicationDrawable.

2017-Oct-02 Android Wear Beta

Date: 2017-Oct-02
Build: OWP4.170828.008
Supported device: LG Watch Sport

This section contains known issues for an Android Wear beta release. For information about the beta program and/or to enroll, see the Android beta page.

Known issues

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)