Chapter    3

Customizing Notifications for Wearables

Both Android Wear and Glass automatically take the notifications issued on a handheld device and share them with a wearable, as long as both devices are paired. In other words, your handheld apps automatically display notifications on a wearable without having to add any code. However, there are cases in which handheld notifications are not effective on wearables as a result of the different form factor. In these cases, we can customize notifications to behave differently on wearables. To be clear, these customizations do not affect how the notifications are displayed on the handheld but rather they enhance the notifications on wearables.

In Android Wear, each notification issued on the handheld ...

Get Beginning Android Wearables 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.