LightBlog

jeudi 17 décembre 2020

Google is finally preparing to release a Tiles API for Wear OS

In 2019, Google released “Tiles”, a new feature that lets you show small, informative app widget cards on Wear OS smartwatches. Google added Tiles for a handful of things, including Goals, Next event, Forecast, Heart rate, Headlines, and timer, allowing users to easily access important info by swiping left on the watch face. At launch, you could only add 5 Tiles, but with the Wear OS app v2.40, Google raised the limit, letting users add up to 10 Tiles on their smartwatch. Since Tiles was released, smartwatch OEMs like Mobvoi have also built their own Tiles.

However, to this day, Google has never released an official API for Tiles, which would let third-party Wear OS app developers offer their own Tiles. Fed up with the delay, some developers reverse-engineered the internal Tiles API that Google uses in the Wear OS app to create an UnofficialTileAPI. While this has led to several third-party app devs successfully creating Tiles, it’s not recommended to rely on undocumented APIs since they can change at any time, causing breakage. But it appears developers will not have to resort to unofficial ways to build Tiles in a not so distant future.

Finally, nearly a year and a half after the debut of Tiles, it looks like Google is preparing to introduce an official Tiles API. An AOSP commit titled “initial commit of Wear Tiles API” adds the Tiles API to the AndroidX support library.

Initial commit of Wear Tiles API.

This checks in the app-side of the Wear Tiles API. Tests (and testing libs) have not yet been added, but will come in a future CL. This version exists really to start kicking off API reviews.

Once this commit is merged, developers will be able to call this API after updating to the latest AndroidX version.

With the release of the official Tiles API, we should see more developers jumping on board and bringing exciting new Tiles for Wear OS-powered smartwatches. We don’t know when Google plans to release the API publicly. But we’ll be keeping a close eye on the development and sure to let you know if we learn anything new.

The post Google is finally preparing to release a Tiles API for Wear OS appeared first on xda-developers.



from xda-developers https://ift.tt/3mr8Q8l
via IFTTT

Aucun commentaire:

Enregistrer un commentaire