Tag Archives: Wear OS

Introducing the Watch Face Format for Wear OS

Posted by Anna Bernbaum, Product Manager

We are excited to announce the launch of the Watch Face Format! We worked in partnership with Samsung to introduce a new way for you to build watch faces for Wear OS smartwatches.

The Watch Face Format is a declarative XML format to design the appearance and behavior of watch faces. This means that there is no executable code involved in creating a watch face, and there will be no code embedded in your watch face APK.

The Wear OS platform takes care of the logic needed to render the watch face so you no longer have to worry about code optimizations or battery performance.

Watch faces that are built with this new format require less maintenance and fewer updates than the ones built using the Jetpack Watch Face library. For example, you no longer need to update your watch face to benefit from improvements in performance or battery consumption, or to get the latest bug fixes.

Starting today, you can build watch faces in this new format and publish them on Google Play, ready for when the first Wear OS 4 watches are available.

The Watch Face Format lets you create…

Analog and digital watch faces:

Three watch faces illustrating different analogue and digital styles.

Watch faces with complications:

Three watch faces displaying different complication formats.

Customizable watch faces:

Three instances of the same watch face displayed in different color choices.

And more...

A planets-based watch face, a rainbow-inspired watch face and one based on the sun and moon

Watch Face Editing

With the Watch Face Format, we have included the watch face editor as part of Wear OS itself, so users can customize every watch face using the same editor UI. You no longer need to build your own watch face editor for users to customize their watch face.

Customizing the watch face with the in-built watch face editor
Wear OS 4’s editor for watch faces made using the Watch Face Format

Build Watch Faces, or Watch Face Tools

The new Watch Face Format can be used to build watch faces directly, or it can be integrated into creation tools, allowing designers to create watch faces without having to write any executable code.


Watch Face Studio

Today, Samsung has released the latest version of Watch Face Studio, ready for you to try now. As an alternative to directly writing XML using the Watch Face Format, Watch Face Studio makes it easy for designers to create watch faces without any coding experience.

Watch faces made in the latest version of Watch Face Studio use the Watch Face Format by default when they are run on a Wear OS 4 watch, or they run as traditional watch faces when the watch face runs on a Wear OS 3 watch.

Using Watch Face Studio to create a watch face.
Using Watch Face Studio to create a watch face

Learn more

Build watch faces using the Watch Face Format today:

Watch the Wear OS updates at I/O 2023

Posted by Kseniia Shumelchyk, Android Developer Relations Engineer

As we continue to evolve the Wear OS platform, we're excited to share with you some of the newest features and improvements that have been added to help you create innovative and engaging experiences for your users.

Partners like Peloton and Todoist have been building exceptional experiences for Wear OS - and seeing the impact on their feature-adoption and engagement. Hear directly from Peloton engineers about how they built a differentiated experience for the watch with Compose for Wear OS.


In this blog post, we’ll be highlighting some of the key updates we announced at Google I/O this year, so let’s dive in and explore the latest advancements in Wear OS!

Wear OS 4 Developer Preview

Today we’re releasing the first Developer Preview of Wear OS 4, the next version of Google’s smartwatch platform arriving later this year. It has enhancements to security, user customization, and power optimizations.

This preview introduces several new tools to help enhance your Wear OS app experience:

Watch Face Format

We are launching the Watch Face Format, a new way to create watch faces for Wear OS. The format makes it easier to create customizable and more power-efficient watch faces for Wear OS 4. Developed in partnership with Samsung, the Watch Face Format is a declarative XML format, so there is no executable code involved in creating a watch face and there will be no code embedded in your watch face APK. Read more.

Watch faces created using the new Format

Tiles

Wear OS tiles give users fast, predictable access to the information and actions they rely on most. Version 1.2 of the Jetpack Tiles library introduces support for platform data bindings, so if your tile uses platform data sources such as heart rate, step count, or time, your tile is updated once per second.

The new version of tiles also adds support for animations. You can use tween animations to create smooth transitions on changes to part of your layout, and transition animations can animate new or disappearing elements from the tile.

Image showing examples of animated Tiles
Examples of animated Tiles

Get your app ready

Wear OS 4 is based on Android 13, which is several versions newer than the current Wear OS version, so your app will need to handle the system behavior changes that took effect in Android 12 and Android 13. We recommend you start by testing your app and releasing a compatible update first – as devices get upgraded to Wear OS 4, it’s a basic but a critical level of quality that provides a good app experience for users.

Download the Wear OS 4 emulator in Android Studio Hedgehog to explore new features and test your app on Wear OS 4 Developer Preview.


Tooling and library updates

Wear OS support in Firebase Test Lab

Firebase Test Lab will support running tests for your standalone app on physical Google Pixel Watches in the next few weeks. You can run your automated tests on the Google Pixel Watch via Gradle Managed Devices, or use the Firebase Console to also run Robo tests. To learn more, check out available devices.

Wear OS support in the Pre-launch reports

Today we are also excited to announce Wear OS support in Google Play Pre-launch reports for standalone apps. The Pre-launch report helps to identify issues proactively before your app reaches users, so it’s an important tool to help you launch a high-quality app. You can test for stability, accessibility, security and trust, and screenshot previews! At the moment the analysis runs on Wear emulators and it is soon launching on Google Pixel Watches.

Emulator improvements

The Wear OS 4 emulator brings support for emulated Bluetooth, which lets you test more use cases, for example Bluetooth audio.

The new Wear OS 4 emulator doesn’t support unmanaged 32-bit code, so if your app uses native code, make sure that it includes both 32-bit and 64-bit native libraries. This will also prepare your app for upcoming 64-bit only hardware.

In Android Studio Hedgehog we also added capabilities for capturing screenshots and Logcat snapshots in the Wear OS emulator, so it is now much easier to generate screenshots for your app’s store listing.

Jetpack libraries

Since the latest stable Compose for Wear OS 1.1 release, we continue to bring new features and improvements to the toolkit. Version 1.2 already has a number of alpha releases – check out release notes to find out more.

Health Services version 1.0 has introduced a few new features in latest beta releases. Most notably, it includes BatchingMode to deliver batched exercise data at a configured interval instead of the default interval, as well as an ExerciseTypeConfig API which enables updates during ongoing exercises, such as golfing. If you are interested to learn what's new in Android Health, check out this blog.


Start building for Wear OS now

Wear OS active devices have grown 5x since launching Wear OS 3, and it's the fastest growing smartwatch platform.

We’re excited to share our brand new Wear OS Gallery, where you can find even more guidance with proven design and development patterns for messaging, media, and health & fitness apps!

With the latest updates, you'll have even more tools at your disposal to create beautiful, high-quality wearable experiences.


Learn more

Get started building for Wear OS with hands-on experience! Try our Compose for Wear OS codelab, and check out the documentation and samples.

The new Wear OS quality requirements will come into effect on August 31, 2023, so consider them early when designing and developing your app.

We’re looking forward to seeing the experiences that you build!

Policy Updates: New Wear OS App Quality Requirements

Posted by Ishaan Aggarwal, Product Manager

Today we are announcing upcoming policy changes intended to improve the quality of apps for Wear OS and their presentation in the Google Play Store. We are introducing these changes to ensure app users get a basic consistent experience across all apps in accordance with our latest Wear OS design and development principles. In addition, updates to the publishing requirements will improve the discovery and presentation of your Wear OS apps in the Google Play Store.

The new requirements will come into effect from August 31, 2023. Until then, we will continue to use the existing policies to review and maintain the quality of Wear OS apps. The overall Wear OS app review process will continue to be mandatory and remains unchanged.

Alongside the above policy changes, all Wear OS apps must target Android 11 (API level 30). Apps that target lower levels will stop being discoverable to all Google Play users whose devices run Android OS versions newer than the app’s target API level from August 31, 2023. This is to ensure that the app is built to meet the safety and quality standard that users expect from newer Wear OS versions.

The following list highlights examples of upcoming quality changes. See a comprehensive list of review criteria here:

  • Black Background – Use a black background for all apps and tiles.
images of watch faces side by side showing Do: Use black Background on the left and Don't use any other color for background on right
  • Ongoing Activity – When a user has an ongoing activity, you must do the following:
    • Show the ongoing activity indicator on the watch face.
    • Update recent apps with the appropriate app launcher chip for the ongoing activity.
    • Reference the ongoing activity from the tile, if the tile is present in the user’s tile carousel.

    Images of two watch faces displaying ongoing activity indicator at the bottom of the watch face on the left and Ongoing activity on an app launcher chip in recent apps on the right
  • Show Time – Display the time of day clearly at the top of the app home screen and any ongoing activity screens. We recommend that you display the time of day at the top of all activities except dialogs and confirmation screens.
    Images of two watch faces with showing time display at the top of the app on the left and Don’t display the time in a dialog, confirmation screen, or picker on the right
These quality updates span visual experience, functionality, performance, and Google Play listings; they are designed to help you provide a consistent, intuitive and enjoyable experience for Wear OS users. With careful consideration of app design, optimal functional behavior, and Google Play experiences, we are aiming to improve app quality and discoverability of quality apps across the Wear OS ecosystem.

As you design and develop, keep in mind the following recommendations to ensure a modern, successful, and discoverable app:
  • Build a modern app that targets API Level 30.
  • Test your app on devices running Wear OS 3 and above to make sure it works well on the latest Wear OS versions.
  • Consider the new Wear OS quality requirements early when designing and developing your app to create quality experience.

Thank you for your continued support of Wear OS by Google. We look forward to seeing what you create.

Android developers: a big thank you for a great 2022!

Posted by Maru Ahues Bouza, Director, Android Developer Relations

This past year was a special one for the Android community, from the release of Android 13, a big investment in tablets and large screens, the latest in wearable technology to all of the investments in Modern Android Development! It was terrific to see many of you for the first time again in-person at Android Dev Summit and other events around the world.From the experiences you build for users to feedback you provide us to make your tools better, we wanted to say a very special holiday thank you!

We put together a highlights recap, and a commemorative poster celebrating 2022 - download it to bring some holiday cheer to your workspace, wherever you may be this season.

Have a festive holiday season and we look forward to continuing our work with you in the new year.

Compose for Wear OS 1.1 is now stable: check out new features!

Posted by Kseniia Shumelchyk, Android Developer Relations Engineer

Today we’re releasing version 1.1 of Compose for Wear OS, our modern declarative UI toolkit to help developers build beautiful, responsive apps for Wear OS.

Since the first stable release earlier this year, we have seen many developers taking advantage of the powerful tools and intuitive APIs to make building their app simpler and more efficient. Todoist and Outdooractive are some of the developers that rebuilt their Wear apps with Compose and accelerated the delivery of a new, functional user experience.

Todoist increased its growth rate by 50% since rebuilding their app for Wear 3 and Outdooractive reduced development time by 30% and saw a significant boost in developer productivity and better design/developer collaboration:

“Compose makes the UI code more intuitive to write and read, allowing us to prototype faster in the design phase and also collaborate better on the code. What would have taken us days now takes us hours.”

The Compose for Wear OS 1.1 release contains new features and brings improvements to existing components, focusing on UX and accessibility. We’ve already updated our samples, codelab, and Horologist libraries to work with Compose for Wear OS 1.1.


New features and APIs

The Compose for Wear OS 1.1 release includes the following new functionality (baseline profiles already added for new components):

Outlined style for Chips and Buttons

To give you additional ability to customize the user interface, we added outlined styles for Chips and Buttons. New OutlinedChip and OutlinedButton composables provide a transparent component with a thin border that can be used for medium-emphasis actions. Also available for compact versions: OutlinedCompactChip and OutlinedCompactButton.
Demonstration of OutlinedChip and OutlinedButton composables on a round watch face
OutlinedChip and OutlinedButton composables

Modifying Chip and Button shapes

Starting from version 1.1, you can also modify shapes for Chip/ToggleChip and Button/ToggleButton components using new functions overloads.
Demonstration of Different Chip and Button shapes on a round watch face
Different Chip and Button shapes

Placeholder API

A new experimental API has been added to implement placeholder support. This can be used to achieve three distinct visual effects separately or all together:

  • A placeholder background brush effect used in containers such as Chip and Cards to draw over the normal background when waiting for content to load.
  • A Modifier.placeholder() to draw a stadium shaped placeholder widget over the top of content that is being loaded.
  • A Modifier.placeholderShimmer() for gradient/shimmer effect that is drawn over the top of the other effects to indicate to users that the current state is waiting for data to load.
These effects are designed to be coordinated and shimmer and wipe-off in an orchestrated fashion.
Moving demonstration of Placeholder API usage examples on a round watch face
Placeholder API usage examples

Check out the reference docs and sample in Horologist to see how to apply the placeholder to common use cases, such as a Chip with icon and a label that puts placeholder over individual content slots and draws a placeholder shimmer on top while waiting for data to load.

Modifier.scrollAway

Horologist’s fadeAway modifier has been graduated to scrollAway modifier in version 1.1. Modifier.scrollAway scrolls an item vertically in and out of view, based on the scroll state, and already has overloads to work with Column, LazyColumn and ScalingLazyColumn.

Use this modifier to make TimeText fade out of the view as the user starts to scroll a list of items upwards.
Moving demonstration of ScrollAway modifier usage with TimeText on a round watch face
ScrollAway modifier usage with TimeText

Additional parameters in CurvedTextStyle

CurvedTextStyle now supports additional parameters (fontFamily, fontWeight, fontStyle, fontSynthesis) to specify font details when creating a curved text style. Extended curved text style can be used on both curvedText and basicCurvedText.

Demonstration of applying different font to curved text on a round watch face
Applying different font to curved text

UX and accessibility improvements

The 1.1 release also focuses on bringing a refined user experience, improvements for TalkBack support and overall better accessibility:

  • ToggleChip and SplitToggleChip support usage of animated toggle controls (Checkbox, Switch and RadioButton) that can be used instead of the static icons provided by ToggleChipDefaults.
  • Default gradient colors for Chip/ToggleChip and Cards were adjusted to match the latest UX specification.
  • Updated a number of the default colors in the MaterialTheme to improve accessibility as the original colors did not have sufficient contrast.
  • Accessibility improvements to Picker so that multi-picker screens are navigable with screen readers and the content description is accessible.
  • InlineSlider and Stepper now have button roles, so that TalkBack can recognize them as buttons.
  • The PositionIndicator in Scaffold is now positioned and sized so that it only takes the space needed. This is useful when semantic information is added to it, so TalkBack gets the correct bounds of the PositionIndicator on screen.

It’s time ⌚ to bring your app to the wrist!

Get started

To begin developing with Compose for Wear OS, get started with hands-on experience trying our codelab, and make sure to check out the documentation and samples. Visit Compose for Wear OS release notes for full list of changes available in version 1.1.

Note that using version 1.1 of Compose for Wear OS requires using the version 1.3 of androidx.compose libraries and therefore Kotlin 1.7.10. Check out the Compose to Kotlin Compatibility Map for more information.

Provide feedback

Compose for Wear OS continues to evolve with the features you’ve been asking for. Please do continue providing us feedback on the issue tracker and join Kotlin Slack #compose-wear channel to connect with the Google team and dev community.

We’re excited to see a growing number of apps using Compose for Wear OS in production, and we’re grateful for all issues and requests that help us to make the toolkit better!

Start building for Wear OS now

Discover even more with technical sessions from the Android Dev Summit providing guidance on app architecture, testing, handling rotary input, and verticalized sessions for media and fitness.

All the ways to stay up to date on the FIFA World Cup™

The World Cup kick-off countdown is on! To make sure you don’t miss any major moments, here are new features that will help you stay up to date as 32 nations compete to win it all.

Get in on the action with Search

Whether you are a casual fan, soccer aficionado or hopping on the bandwagon, we’ve got you covered! To prepare for the tournament, search “World Cup” and follow your favorite teams. Simply click on the bell in the top-right-hand corner to opt-in to receive notifications about your squad. We know the best fans care deeply about the details like who is dominating the passing game. Now, when you look up a match you will be able to view in-depth stats, win probabilities and key events timelines.

Screenshot of a Search result page featuring the win probability and stats for a match

You can also catch all the “ooh”, “ahh'' and “GOOAAAL” moments you might have missed with daily recap videos directly on Search from FIFA+ and official broadcasters including beIN SPORTS, BBC, ZDF and more. Dive even deeper and look up your favorite athletes to learn more about their stories and accomplishments.

Screenshot of a Search results page for the query world cup matches showcasing individual game video recaps and overall day 1 video recaps

No matter which player or team you are rooting for, soccer is all about community and a little friendly competition. On Search when you look up players, you’ll be able to rate players based on how you think they’ll perform and see how that rating stands up against the others. Soon you can also compete with fans in our multiplayer online game. People from around the world will work together to help their team score the most amount of goals to win. Once a real-life match is set, pick your team and work with other fans to score the most virtual goals before the match ends.

Gif of an interactive scoring game where you are competing with players from around the world to try and score as many goals as you can

Find exciting content from the FIFA World Cup™ 2022 on YouTube

There are even more ways to watch the biggest moments throughout the tournament on YouTube. World Cup fans can catch up on and rewatch the most exciting moments of every game on YouTube via FIFA and official broadcast channels. Starting November 20, YouTube TV subscribers can watch live the FIFA World Cup 2022™ on FOX and FS1, and make the most of their viewing experience with gameday features such as key plays to catch up on real-time highlights, stats, scores and standings. Members subscribed to the 4K Plus add-on can enjoy all 64 matches in ultra-high-definition. For those looking to tune in to the Spanish broadcast, Telemundo is included as part of the YouTube TV Base Plan. You can also find exclusive Shorts and long-form content for this year’s World Cup from creators like Deestroying, Rima, Cheeky Boyos, Jesser, Abo Flah and more. Relive and react to your favorite World Cup moments using the Remix feature in Shorts. Be sure to follow along using #ShortsFIFAWorldCup and join in the fun by using this hashtag when you upload your own content.

Catch the matches and highlights with Google TV

With your Google TV device, you'll be able to tune in to everything from the group stage to the finale. Jump straight into live matches featured in your For you tab. A new row lets you explore World Cup content like live games, highlights, recaps and more from FIFA+, ITV, Peacock, Telemundo, ViX and other broadcasters. These updates on Google TV are available on the new Chromecast with Google TV and other Google TV devices including Hisense, Philips, Sony and TCL.

Image of Google TV homescreen on a TV frame highlighting the Latest from FIFA World Cup Qatar 2022 row with featured content.

Discover new places to see the action

Want to watch the game with other fans? A new label for businesses on Search will launch ahead of the games and help you do just that. Soon you can simply search for “Where to watch the world cup near me” within Search to find a nearby venue of your choice. Business owners should review their local rules about showing sporting events to the public before applying the new label.

Static image of a local restaurant displaying a business label that says “Showing the World Cup.

Grow your knowledge about the World Cup with Assistant

Google Assistant is helping long-time soccer fans and those new to the World Cup with an expanded collection of facts. Say "Give me a soccer fun fact" to learn about the first females to referee the tournament, the number of stadiums lined up to host the event and more. To chat about the game, ask Assistant, "Do you like soccer?" and "Who's your favorite soccer player?", or celebrate together with "It's game time" or "Say goal!"

All the ways to stay up to date on the FIFA World Cup™

The World Cup kick-off countdown is on! To make sure you don’t miss any major moments, here are new features that will help you stay up to date as 32 nations compete to win it all.

Get in on the action with Search

Whether you are a casual fan, soccer aficionado or hopping on the bandwagon, we’ve got you covered! To prepare for the tournament, search “World Cup” and follow your favorite teams. Simply click on the bell in the top-right-hand corner to opt-in to receive notifications about your squad. We know the best fans care deeply about the details like who is dominating the passing game. Now, when you look up a match you will be able to view in-depth stats, win probabilities and key events timelines.

Screenshot of a Search result page featuring the win probability and stats for a match

You can also catch all the “ooh”, “ahh'' and “GOOAAAL” moments you might have missed with daily recap videos directly on Search from FIFA+ and official broadcasters including beIN SPORTS, BBC, ZDF and more. Dive even deeper and look up your favorite athletes to learn more about their stories and accomplishments.

Screenshot of a Search results page for the query world cup matches showcasing individual game video recaps and overall day 1 video recaps

No matter which player or team you are rooting for, soccer is all about community and a little friendly competition. On Search when you look up players, you’ll be able to rate players based on how you think they’ll perform and see how that rating stands up against the others. Soon you can also compete with fans in our multiplayer online game. People from around the world will work together to help their team score the most amount of goals to win. Once a real-life match is set, pick your team and work with other fans to score the most virtual goals before the match ends.

Gif of an interactive scoring game where you are competing with players from around the world to try and score as many goals as you can

Find exciting content from the FIFA World Cup™ 2022 on YouTube

There are even more ways to watch the biggest moments throughout the tournament on YouTube. World Cup fans can catch up on and rewatch the most exciting moments of every game on YouTube via FIFA and official broadcast channels. Starting November 20, YouTube TV subscribers can watch live the FIFA World Cup 2022™ on FOX and FS1, and make the most of their viewing experience with gameday features such as key plays to catch up on real-time highlights, stats, scores and standings. Members subscribed to the 4K Plus add-on can enjoy all 64 matches in ultra-high-definition. For those looking to tune in to the Spanish broadcast, Telemundo is included as part of the YouTube TV Base Plan. You can also find exclusive Shorts and long-form content for this year’s World Cup from creators like Deestroying, Rima, Cheeky Boyos, Jesser, Abo Flah and more. Relive and react to your favorite World Cup moments using the Remix feature in Shorts. Be sure to follow along using #ShortsFIFAWorldCup and join in the fun by using this hashtag when you upload your own content.

Catch the matches and highlights with Google TV

With your Google TV device, you'll be able to tune in to everything from the group stage to the finale. Jump straight into live matches featured in your For you tab. A new row lets you explore World Cup content like live games, highlights, recaps and more from FIFA+, ITV, Peacock, Telemundo, ViX and other broadcasters. These updates on Google TV are available on the new Chromecast with Google TV and other Google TV devices including Hisense, Philips, Sony and TCL.

Image of Google TV homescreen on a TV frame highlighting the Latest from FIFA World Cup Qatar 2022 row with featured content.

Discover new places to see the action

Want to watch the game with other fans? A new label for businesses on Search will launch ahead of the games and help you do just that. Soon you can simply search for “Where to watch the world cup near me” within Search to find a nearby venue of your choice. Business owners should review their local rules about showing sporting events to the public before applying the new label.

Static image of a local restaurant displaying a business label that says “Showing the World Cup.

Grow your knowledge about the World Cup with Assistant

Google Assistant is helping long-time soccer fans and those new to the World Cup with an expanded collection of facts. Say "Give me a soccer fun fact" to learn about the first females to referee the tournament, the number of stadiums lined up to host the event and more. To chat about the game, ask Assistant, "Do you like soccer?" and "Who's your favorite soccer player?", or celebrate together with "It's game time" or "Say goal!"

All the ways to stay up to date on the FIFA World Cup™

The World Cup kick-off countdown is on! To make sure you don’t miss any major moments, here are new features that will help you stay up to date as 32 nations compete to win it all.

Get in on the action with Search

Whether you are a casual fan, soccer aficionado or hopping on the bandwagon, we’ve got you covered! To prepare for the tournament, search “World Cup” and follow your favorite teams. Simply click on the bell in the top-right-hand corner to opt-in to receive notifications about your squad. We know the best fans care deeply about the details like who is dominating the passing game. Now, when you look up a match you will be able to view in-depth stats, win probabilities and key events timelines.

Screenshot of a Search result page featuring the win probability and stats for a match

You can also catch all the “ooh”, “ahh'' and “GOOAAAL” moments you might have missed with daily recap videos directly on Search from FIFA+ and official broadcasters including beIN SPORTS, BBC, ZDF and more. Dive even deeper and look up your favorite athletes to learn more about their stories and accomplishments.

Screenshot of a Search results page for the query world cup matches showcasing individual game video recaps and overall day 1 video recaps

No matter which player or team you are rooting for, soccer is all about community and a little friendly competition. On Search when you look up players, you’ll be able to rate players based on how you think they’ll perform and see how that rating stands up against the others. Soon you can also compete with fans in our multiplayer online game. People from around the world will work together to help their team score the most amount of goals to win. Once a real-life match is set, pick your team and work with other fans to score the most virtual goals before the match ends.

Gif of an interactive scoring game where you are competing with players from around the world to try and score as many goals as you can

Find exciting content from the FIFA World Cup™ 2022 on YouTube

There are even more ways to watch the biggest moments throughout the tournament on YouTube. World Cup fans can catch up on and rewatch the most exciting moments of every game on YouTube via FIFA and official broadcast channels. Starting November 20, YouTube TV subscribers can watch live the FIFA World Cup 2022™ on FOX and FS1, and make the most of their viewing experience with gameday features such as key plays to catch up on real-time highlights, stats, scores and standings. Members subscribed to the 4K Plus add-on can enjoy all 64 matches in ultra-high-definition. For those looking to tune in to the Spanish broadcast, Telemundo is included as part of the YouTube TV Base Plan. You can also find exclusive Shorts and long-form content for this year’s World Cup from creators like Deestroying, Rima, Cheeky Boyos, Jesser, Abo Flah and more. Relive and react to your favorite World Cup moments using the Remix feature in Shorts. Be sure to follow along using #ShortsFIFAWorldCup and join in the fun by using this hashtag when you upload your own content.

Catch the matches and highlights with Google TV

With your Google TV device, you'll be able to tune in to everything from the group stage to the finale. Jump straight into live matches featured in your For you tab. A new row lets you explore World Cup content like live games, highlights, recaps and more from FIFA+, ITV, Peacock, Telemundo, ViX and other broadcasters. These updates on Google TV are available on the new Chromecast with Google TV and other Google TV devices including Hisense, Philips, Sony and TCL.

Image of Google TV homescreen on a TV frame highlighting the Latest from FIFA World Cup Qatar 2022 row with featured content.

Discover new places to see the action

Want to watch the game with other fans? A new label for businesses on Search will launch ahead of the games and help you do just that. Soon you can simply search for “Where to watch the world cup near me” within Search to find a nearby venue of your choice. Business owners should review their local rules about showing sporting events to the public before applying the new label.

Static image of a local restaurant displaying a business label that says “Showing the World Cup.

Grow your knowledge about the World Cup with Assistant

Google Assistant is helping long-time soccer fans and those new to the World Cup with an expanded collection of facts. Say "Give me a soccer fun fact" to learn about the first females to referee the tournament, the number of stadiums lined up to host the event and more. To chat about the game, ask Assistant, "Do you like soccer?" and "Who's your favorite soccer player?", or celebrate together with "It's game time" or "Say goal!"

Power your Wear OS fitness app with the latest version of Health Services

Posted by Breana Tate, Developer Relations EngineerThe Health Services API enables developers to use on-device sensor data and related algorithms to provide their apps with high-quality data related to activity, exercise, and health. What’s more, you don’t have to choose between conserving battery life and delivering high frequency data–Health Services makes it possible to do both. Since announcing Health Services Alpha at I/O ‘21, we’ve introduced a number of improvements to the platform aimed at simplifying the development experience. Read on to learn about the exciting features from Health Services Beta in Android Jetpack that your app will be able to take advantage of when you migrate from Alpha.


Capture more with new metrics

The Health Services Jetpack Beta introduces new data and exercise types, including DataType.GOLF_SHOT_COUNT, ExerciseType.HORSE_RIDING, and ExerciseType.BACKPACKING. You can review the full list of new exercise and data types here. These supplement the already large library of data and exercise types available to developers building Wear OS apps with Health Services. Additionally, we’ve added the ability to listen for health events, such as fall detection, through PassiveMonitoringClient.

In addition to new data types, we’ve also introduced a new organization model for data in Health Services. This new model makes the Health Services API more type-safe by adding additional classification information to data types and data points, reducing the chance of errors in code. In Beta, all DataPoint types have their own subclass and are derived from the DataPoint class. You can choose from:

  • SampleDataPoints 
  • IntervalDataPoints 
  • StatisticalDataPoints
  • CumulativeDataPoints

DataTypes are categorized as AggregateDataTypes or DeltaDataTypes.

As a result of this change, Health Services can guarantee the correct type at compile time instead of at runtime, reducing errors and improving the developer experience. For example, location data points are now represented as a strongly-typed LocationData object instead of as a DoubleArray. Take a look at the example below:

Previously:

exerciseUpdate.latestMetrics[DataType.LOCATION]?.forEach {
  val loc = it.value.asDoubleArray()

  val lat = loc[DataPoints.LOCATION_DATA_POINT_LATITUDE_INDEX]
  val lon = loc[DataPoints.LOCATION_DATA_POINT_LONGITUDE_INDEX]
  val alt = loc[DataPoints.LOCATION_DATA_POINT_ALTITUDE_INDEX]

  println("($lat,$lon,$alt) @ ${it.startDurationFromBoot}")
}

Health Services Beta:

exerciseUpdate.latestMetrics.getData(DataType.LOCATION).forEach {
  // it.value is of type LocationData
  val loc = it.value
  val time = it.timeDurationFromBoot
  println("loc = [${loc.latitude}, ${loc.longitude}, ${loc.altitude}] @ $time")

}

As you can see, due to the new approach, Health Services knows that loc is of type List<SampleDataPoint<LocationData>> because DataType.LOCATION is defined as a DeltaDataType<LocationData, SampleDataPoint<LocationData>>.


Consolidated exercise end state

ExerciseState is now included within ExerciseUpdate’s ExerciseStateInfo property. To give you more control over how your app responds to an ending exercise, we’ve added new ExerciseStates called ExerciseState.ENDED and ExerciseState.ENDING to replace what was previously multiple variations of ended and ending states. These new states also include an endReason, such as USER_END, AUTO_END_PREPARE_EXPIRED, and AUTO_END_PERMISSION_LOST.

The following example shows how to check for exercise termination:

val callback = object : ExerciseUpdateCallback {
    override fun onExerciseUpdateReceived(update: ExerciseUpdate) {
        if (update.exerciseStateInfo.state.isEnded) {
            // Workout has either been ended by the user, or otherwise terminated
            val reason = update.exerciseStateInfo.endReason
        }
        ...
    }
    ...
}


Improvements to passive monitoring

Health Services Beta also transitions to a new set of passive listener APIs. These changes largely focus on making daily metrics better typed and easier to integrate. For example, we renamed the PassiveListenerConfig function setPassiveGoals to setDailyGoals. This change reinforces that Health Services only supports daily passive goals.We’ve also condensed multiple APIs for registering Passive Listeners into a single registration call. Clients can directly implement the desired overrides for only the data your app needs.

Additionally, the Passive Listener BroadcastReceiver was replaced by the PassiveListenerService, which offers stronger typing, along with better reliability and performance. Clients can now register both a service and a callback simultaneously with different requests, making it easier to register a callback for UI updates while reserving the background request for database updates.


Build for even more devices on Wear OS 3

Health Services is only available for Wear OS 3. The Wear OS 3 ecosystem now includes even more devices, which means your apps can reach even more users. Montblanc, Samsung, and Fossil are just a few of the OEMs that have recently released new devices running Wear OS 3 (with more coming later this year!). The newly released Pixel Watch also features Fitbit health tracking powered by Health Services.

If you haven’t used Health Services before, now is the time to try it out! And if your app is still using Health Services Alpha, here is why you should consider migrating:

  • Ongoing Health Services Development: Since Health Services Beta is the newest version, bug fixes and feature improvements are likely to be prioritized over older versions.
  • Prepares your app infrastructure for when Health Services goes to stable release
  • Improvements to type safety - less chance of error in code!
  • Adds additional functionality to make it easier to work with Health Services data

You can view the full list of changes and updated documentation at developer.android.com.