Thursday, Dec 14, 2017 | Last Update : 01:56 PM IST

Google’s new API may improve Android Wear Complications

ANI
Published : May 19, 2017, 9:22 pm IST
Updated : May 19, 2017, 9:22 pm IST

The API adds more sample code that developers can cut-and-paste into their apps

The new Complications API is for Android Wear 2.0 and up. Google released the second-generation wearable platform earlier this year.
 The new Complications API is for Android Wear 2.0 and up. Google released the second-generation wearable platform earlier this year.

Google announced today a new version of its Complications API for developers in order to help them create better experiences for Android Wear. Complications are dynamic data sets which appear on watch faces, such as step counts, notifications, weather alerts, and similar.

Specifically, the refreshed API can now auto-size text to fit in bounds defined by watch face makers and it includes a full rendering tool to handle style and layout factors for complications.

The API adds more sample code that developers can cut-and-paste into their apps, as well as a new test suite for checking that watch faces can handle all the fields and complications together.

The new Complications API is for Android Wear 2.0 and up. Google released the second-generation wearable platform earlier this year. Google also said it is offering developers a new Wear UI library for handling user interfaces. Notably, Google is killing off the card pattern and multi-directional UIs for Android Wear devices. This change will occur over time.

Tags: google, smartwatch api, android wear, complications