Tag Archives: Wear OS

Announcing Compose for Wear OS Beta!

Posted by Kseniia Shumelchyk, Developer Relations Engineer, and John Nichol, Tech Lead of Compose for Wear OS

Wear OS watch with blue background 

Today we’re launching the Beta release of Compose for Wear OS, our modern declarative UI toolkit designed to help developers create beautiful user experiences for Wear OS.

Compose for Wear OS adds support for watch optimized components that embrace the latest Material design for Wear OS. The components are built on top of core Compose libraries and the toolkit leverages Modern Android Development, helping accelerate the development process as a whole.

With this Beta release, Compose for Wear OS is feature complete for the 1.0 release coming later this year, and has what you need to build production-ready apps. It also means the API is stable; moving forward we'll focus on performance and polishing existing components for the 1.0 release.


In the Beta

We’ve been hard at work since last I/O to bring the best of Jetpack Compose to Wear OS, engaging with the community via Slack, gathering developer feedback on APIs, components and tooling. As a result, we’ve improved a number of components such as navigation, scaling lazy lists, input and gesture support and much more.

The first Beta release follows 21 alpha releases. The major changes since the Developer Preview announcement include:


? Input components

You asked for user input components, so we’ve added different composables that you can tailor for your watch app:

GIF of picker, slider, and stepper options
  • Picker lets the user select an item from a scrolling list. By default, the list of selectable items is repeated 'infinitely' in both directions, to give the impression of a rotating cylinder seen from the side. Interestingly, Picker uses ScalingLazyColumn implementation underneath and has helped to develop and hone a lot of advanced ScalingLazyColumn features.
  • Slider allows users to make a selection from a range of values and is ideal for adjusting settings like font size or brightness.
  • Stepper is a full-screen control component that allows users to make a selection from a range of values. For example, users can control the volume of their headphones.

? Dialogs

We’ve added full-screen Alert and Confirmation composables that can be used as either navigation destinations or traditional full-screen Dialogs, which will be layered over any other content. Dialog supports swipe-to-dismiss and will reveal the parent content in the background during the swipe gesture.

GIF of watch face showing playlist options

For consistency with Scaffold, a full-screen dialog displays a PositionIndicator and a Vignette.


? Progress Indicator

We added CircularProgressIndicator, a progress indicator optimized for watch screens to display progress by animating an indicator along a circular track in a clockwise direction.

GIF of watch face showing timer

​​There are several options for how CircularProgressIndicator can be used: either to show infinite progress or to express the proportion of completion of an ongoing task. Progress Indicators allow a gap in the circular track which leaves room for other content, for instance TimeText if used in full-screen.


? Page Indicator

To help you implement pagination, the UI toolkit provides a HorizontalPageIndicator component that represents the total number of pages and selected page.

GIF of watch face showing page indicator

Depending on the screen shape, the HorizontalPageIndicator will provide a form factor- specific visual indication of which page is active and how far through the pages it is.


Improvements

  • ScalingLazyColumn: improved the default behavior to be consistent with Material design for Wear OS, such as updating the scaling parameters, default extra padding and taking the size from the size of its contents.
  • Scaffold: added PageIndicator slot to guarantee correct positioning on the round screen.
  • Navigation: ensured feature parity with Compose Navigation and adding support for edge swiping to enable a great experience on full-screen and page scrolling.
  • Curved elements: added CurvedModifiers and a new DSL which enables developers to use concepts that make sense for a curved world like radial, angular, sweep, (anti-) clockwise, inner/outer. CurvedLayout is the bridge between the linear and curved worlds and curvedComposable can be used to introduce traditional composable components when it makes sense to do so.

With these recent additions, the Compose Material catalog for Wear OS now has more components than are available with View-based layouts and provides out-of-the-box implementation of the new Wear OS design guidelines.


Tools

Android Studio Electric Eel provides the latest features for the best experience developing with Compose for Wear OS:

  • Editor and tooling support improving autocomplete and editor actions
  • Wear OS-specific Composable Preview
  • ? Live edit for real-time debugging support
  • ? Compose for Wear OS project template


Horologist

Today we’re also announcing the release of Horologist, a Google open source project which provides a set of Wear libraries that supplement the functionality provided by Compose for Wear OS and other Wear OS APIs.

Gears of a watch

Read about Horology

Horologist offers helpful Compose extensions:

  • Media UI components including playback control and volume screens
  • Material date and time pickers
  • Navigation-aware Scaffold with TimeText and PositionIndicator that stay in sync with scrolling and navigation screen changes.

Horologist will grow to provide developers with additional tools for building great Wear OS apps across different experiences. Check out the Horologist on Github to provide feedback and contribute general functionality that could be useful for Wear developers - and stay tuned for upcoming releases!


Get Started

Many of the development principles for mobile Compose apply to Compose for Wear OS, so if you’re unfamiliar with the UI toolkit start with Jetpack Compose basics.

We’ve prepared a set of materials to help you get started with Compose for Wear OS:

Now that Compose for Wear OS has reached Beta it’s a great time to get started with Compose to quickly bring your app to life or refresh your existing UI. For more information about building apps for Wear OS, check out the developer site.

We’d love to hear from you about your experiences using Compose for Wear OS and what you are able to build! Join the discussion in the Kotlin Slack #compose-wear channel and please keep providing feedback on the issue tracker.

Happy Composing!

Living in a multi-device world with Android

Android has grown into the most popular OS in the world, delivering access, connectivity and information to people everywhere on their smartphones. There are over three billion active monthly Android devices around the world, and in the last year alone, more than a billion new Android phones have been activated. While the phone is still the most popular form of computing, people are adding more connected technologies to their lives like TVs, cars, watches and more.

As we build for a multi-device future, we’re introducing new ways to get more done. Whether it's your phone or your other devices, our updates help them all work better together.

Do more with your Android phone

With Android 13, we’re making updates to privacy and security, personalization and large screen devices. You’ve already seen a preview of this in the Developer Previews and first beta. Across the Android ecosystem, we’re also bringing more ways to keep your conversations private and secure, store your digital identity and get you help in the physical world.

We have been working with carriers and phone makers around the world to upgrade SMS text messaging to a new standard called Rich Communication Services (RCS). With RCS, you can share high-quality photos, see type indicators, message over Wi-Fi and get a better group messaging experience.

This is a huge step forward for the mobile ecosystem and we are really excited about the progress! In fact, Google's Messages app already has half a billion monthly active users with RCS and is growing fast. And, Messages already offers end-to-end encryption for your one-to-one conversations. Later this year, we’ll also be bringing encryption to your group conversations to open beta.

Three messages are shown from a group message between friends who are excited for a baking class they will take together.

Your phone can also help provide secure access to your everyday essentials. Recently, we’ve witnessed the rapid digitization of things like car keys and vaccine records. The new Google Wallet on Android will standardize the way you save and access these important items, plus things like payment cards, transit and event tickets, boarding and loyalty passes and student IDs. We’ll be launching Google Wallet on Wear OS, starting with support for payment cards.

Soon, you’ll be able to save and access hotel keys and office badges from your Android phone. And we know you can’t leave home without your ID, so we're collaborating with states across the U.S. and international partners to bring digital driver's licenses and IDs to Google Wallet later this year.

We’re developing smooth integrations with other Google apps and services while providing granular privacy controls. For example, when you add a transit card to Wallet, your card and balance will automatically show up in Google Maps when you search for directions. If your balance is running low, you can quickly tap and add fare before you arrive at the station.

A user looks at their phone for directions from the San Francisco airport on Google Maps. Since they are looking for public transportation routes, they are prompted on their phone to add fare to their Clipper card, a transit card used throughout the San Francisco Bay Area. With a tap, they add their desired amount of money to the card.

Beyond helping keep your communication and digital identities safe, your devices can be even more essential in critical moments like medical emergencies or natural disasters. In these times, chances are you’ll have either your phone or watch on you. We built critical infrastructure into Android like Emergency Location Services (ELS) to help first responders locate you when you call for help. We recently launched ELS in Bulgaria, Paraguay, Spain and Saudi Arabia, and it is now available to more than one billion people worldwide.

Early Earthquake Warnings are already in place in 25 countries, and this year we’ll launch them in many of the remaining high-risk regions around the world. This year, we’ll also start working with partners to bring Emergency SOS to Wear OS, so you can instantly contact a trusted friend or family member or call emergency services from your watch.

A watch screen depicts the Emergency SOS feature. The watch face has an outline of a red circle that counts down the time before an emergency call is made directly from the watch. In this example 911 is called.

Apps and services that extend beyond the phone

Along with your phone, two of the most important and personal devices in our lives are watches and tablets.

With the launch of our unified platform with Samsung last year, there are now over three times as many active Wear OS devices as there were last year. Later this year, you’ll start to see more devices powered with Wear OS from Samsung, Fossil Group, Montblanc, Mobvoi and others. And for the first time ever, Google Assistant is coming to Samsung Galaxy watches, starting soon with the Watch4 series. The Google Assistant experience for Wear OS has been improved with faster, more natural voice interactions, so you can access useful features like voice-controlled navigation or setting reminders.

We’re also bringing more of your favorite apps to Wear OS. Check out experiences built for your wrist by Spotify, adidas Running, LINE and KakaoTalk. And you’ll see many more from apps like SoundCloud and Deezer later this year.

Various app logos including Spotify, adidas Running, LINE, and more are spread out in a circle outside of a watch.

We’re investing in tablets in a big way and have made updates to the interface in 12L and Android 13 that optimize information for the larger screen. We’ve also introduced new features that help you multitask — for example, tap the toolbar to view the app tray and drag and drop apps to view them in a side by side view.

To support these system-level updates, we’ve also been working to improve the app experiences on Android tablets. Over the next few weeks, we’ll be updating more than 20 Google apps to take full advantage of the extra space including YouTube Music, Google Maps, Messages and more.

A collage of colorful tablets are shown, each tablet with a different app running on its screen such as Google Translate, Google Maps, Google TV, Google Photos, Gmail, and more. The Android logo is in the center of the image with the text “20+ optimized Google tablet apps” written in large lettering.

We’re working with other apps to revamp their experiences this year as well, including TikTok, Zoom, Facebook and many others. You’ll soon be able to easily search for all tablet-optimized apps thanks to updates to Google Play.

The Google Play app is open on a tablet. Apps like TikTok, Instagram, WhatsApp, and Zoom are listed under the “Top Free” section of the app charts, each with an Install button beside it.

Simple ways for your devices to work better together

Getting things done can be much easier if your connected devices all communicate and work together. The openness and flexibility of Android powers phones, watches, tablets, TVs and cars — and it works well with devices like headphones, speakers, laptops and more. Across all these devices, we’re building on our efforts and introducing even more simple and helpful features to move throughout your day.

With Chromecast built-in, you can watch videos, listen to music and more on the device that makes sense depending on where you are and what you’re doing. This means after your daily commute, you can easily play the rest of a movie you were watching on your phone on your TV at home. To help you stay entertained, we’re working to extend casting capabilities to new partners and products, such as Chromebook, or even your car.

An interior of a car with YouTube video being cast from a phone to the in-car display.

Your media should just move with you, so you can automatically switch audio from your headphones while watching a movie on your tablet to your phone when answering an incoming call.

And when you need to get more done across devices, you’ll soon be able to copy a URL or picture from your phone, and paste it on your tablet.

This graphic begins with a user copying an image from the web on their phone. They select the Nearby Share icon and the image from the phone is now in the clipboard of their tablet. The user then clicks paste within a slide in Google Slides on their tablet and the image from the phone appears.

Earlier this year, we previewed multi-device experiences, like expanding Phone Hub on your Chromebook to allow you to access all your phone’s messaging apps. By streaming from your phone to the laptop, you’ll be able to send and reply to messages, view your conversation history and launch your messaging apps from your laptop. We’re also making it easier to set up and pair your devices with the expansion of Fast Pair support to more devices, including built-in support for Matter on Android.

Whether Android brings new possibilities to your phone or the many devices in your life, we’re looking forward to helping you in this multi-device world.

Unpacking 7 features on the latest Samsung Galaxy devices

Today at Galaxy Unpacked, Samsung unveiled the new Galaxy S22 series and Galaxy Tab S8 series and updates coming soon to the Galaxy Watch4 series. Together with Samsung, we’re introducing new features that help you communicate in new ways, get more done and stay entertained with your Galaxy devices.

More ways to connect with live sharing on Google Duo

Video calling with Duo can help you connect with friends and family, no matter how far away. With live sharing support across your favorite apps, you will be able to use Duo on your Galaxy S22 series and Galaxy Tab S8 series to brainstorm ideas with your friends and colleagues through Jamboard, share ideas and images in Samsung Notes and Gallery, watch videos together on YouTube or search for locations on Google Maps.

Preview YouTube videos on Messages by Google

People share YouTube videos on Messages all the time — in fact, they're one of the most-shared types of links on the app overall. In the coming weeks, you’ll be able to see a preview of the video your friends and family share with you right in the conversation, so you can quickly decide whether to watch it now or later. And you can tap again to play the video as well, without ever leaving the chat.

Optimized for accessibility with Voice Access

Voice Access on Android is designed to help people with disabilities navigate and control their device without needing to use their hands. While it’s optimized for people with motor disabilities like ALS, spinal cord injuries or arthritis, it can also be helpful for anyone with a temporary disability like a broken arm, or people whose hands are otherwise occupied. Built into the Galaxy S22 series and Galaxy Tab S8 series, you don’t need to download a separate app, and you can use Voice Access prompts to quickly and easily tap, scroll and navigate your device. Tap, scroll, and browse your device with voice commands. Either set Voice Access to start whenever you use your device, or say, “Hey Google, Voice Access” and the accessibility prompts will help you open apps and manage your device.

Color your world with Material You

Coming with Android 12 out of the box, the Galaxy S22 series and Galaxy Tab S8 series will let you personalize your device by taking advantage of the beautiful Material You design. Change your wallpaper and the look and feel of your entire device, including your notifications, apps and more, will change to match the color palette.

Three phones showing different screens with background color adaptation

Easily set up Google Play apps on your Galaxy Watch4

Setting up a new Galaxy Watch4 has never been easier. Next month, we’ll be improving the setup process so your apps on your Android phone appear as recommended apps on your watch. With a simple tap on your phone, you can install all of your favorite apps from Google Play.

Phone screen showing options to select and sync apps onto your watch

Get help on your watch with Google Assistant

As you move through the day, Google is there to help you get things done across your devices. In the coming months, we’ll bring Google Assistant to Galaxy Watch4. Soon, you can ask Google to help set a timer while cooking, stay on top of your appointments by asking your calendar what’s next, or playing your favorite music – right from your wrist. Google Assistant will be available for download on Google Play and feature a new design with faster than ever response times on your watch. Once activated, just say “Hey Google” to get started.

Listen on the go with YouTube Music Premium

Whether you’re working out or commuting to work, the YouTube Music app on Wear OS provides access to more than 80 million songs and thousands of playlists. Currently, YouTube Premium and YouTube Music Premium subscribers have the ability to download music for ad-free offline listening. Coming soon, we’re adding Wi-Fi and LTE streaming support so subscribers can discover new tunes without their phone nearby. This will be available on Galaxy Watch4 and other Wear OS devices.

We will continue to build on our longstanding partnership to bring helpful Google features to all of your favorite Samsung devices. With the Galaxy S22 series and Galaxy Tab S8 series, you'll receive a four-month trial of YouTube Premium (terms apply[1527fc]) on us. Learn more about the new Samsung Galaxy devices here.

CES 2022: Better together with Android and beyond

Editors note: Google planned to attend CES 2022 but pulled out due to concerns over COVID-19.

The average U.S. household had 25 connected devices in 2021, up from 11 in 2019. If you’re like me, you want to pick and choose the devices that work best for you regardless of brand. You also want to easily set up and move from one device to the next throughout your day, and without having to pull up the same song or task over and over again.

Android was built for everyone, everywhere and to give people more choice in devices, whether it’s based on the design, features or overall value. Over the years, we’ve evolved Android to support more devices in your life such as watches, tablets, TVs and even cars. And beyond Android, our work at Google includes laptops, headphones and speakers, smart home devices and much more.

That’s why we’re building on our efforts and introducing more simple and helpful ways to make your devices, from Android’s ecosystem and beyond, work better together.

Quickly set up and connect your new devices

It can be fun and exciting to get a new device — but that can turn into a headache when you start setting it up. We’re making this process a little less daunting with pairing support for more devices.

Fast Pair has already helped people connect their Android phones with Bluetooth accessories over 100 million times. It enables instant set up and device pairing, bringing up the companion app for installation and transferring your Google credentials. We’re continuing our work with partners to further extend Fast Pair’s functionality beyond audio connectivity with wearables, headphones, speakers and cars and extending it to TVs and smart home devices, so you can instantly start using all the devices in your life.

Starting in a few weeks, when you turn on your Fast Pair-enabled headphones, your Chromebook will automatically detect it and pair with it in a single click, letting you stay focused when studying or working wherever you are. If you get a new Chromebook later this year, you can use your Android phone to quickly set it up and get immediate access to all of the information you’ve already saved, like your Google login and your Wi-Fi password.

Log in credentials transferring from a side by side Android phone to a red Chromebook laptop.

In the coming months, you’ll be able to set up your headphones for when you need to watch quietly with your Google TV or Android TV OS device at home. And with built-in support for Matter on Android, you’ll be able to use Fast Pair to quickly connect new Matter-enabled smart home devices to your network, Google Home and other accompanying apps all in just a few taps.

A phone showing the process of connecting a smart bulb into the Google Home app with Fast Pair for Matter-enabled devices

Lock and unlock your devices

Today, you can already unlock your Chromebook with your Android phone to quickly get right to work. In the coming months, we’ll bring this feature to your paired Wear OS smartwatch so you can instantly unlock and access your Chromebook and Android phone or tablet when you’re close by.

A phone unlocks next to a watch face motioning through a passcode

And with a digital car key, you can now use your compatible Samsung or Pixel phone to lock, unlock and start your supported BMW vehicles from your phone. Starting later this year, on phones with Ultra Wideband (UWB) technology, you won’t even have to take your phone out to use it as a car key. You’ll also be able to securely and remotely share your car key with friends and family if they need to borrow your car. We’re working to bring digital car keys to more Android phones and vehicles later this year.

A phone over an outlined graphic of a car and an unlock motion

Complete tasks and share media across devices

To amplify your visual and audio experiences, your devices should instinctively know which of them you want to use and when. We’re building a technology for Bluetooth-enabled headphones that will enable them to automatically switch the audio to whatever device you’re listening to. So if you’re wearing headphones to watch a movie on your Android tablet and you receive a phone call, the movie will pause and the headphone audio will automatically switch to your Android phone and then switch back to the movie when you’re done. Spatial audio on your headsets will make you feel like you’re really there by adapting the sound based on your head movements, positioning the audio in the space all around you. These features will be available in the next few months on supported headphones.

A video of a movie with dancers playing on a tablet, with a phone on next to it receiving a phone call

We’re also making it easier to move and manage your content across any device. With Chromecast built-in, your Android phone already allows you to share videos to displays and TVs as well as audio content to select speakers from Nest and others. To help you cast music and podcasts you’re listening to from your Android phone to more of your speakers, we’re bringing Chromecast built-in to more brands, starting with all Bose smart speakers and soundbars in the next few months.

A phone above a Bose soundbar showing a cast connection

Whether you’re at home or on the go, we’re also adding features to Phone Hub on Chromebooks later this year that help you accomplish more across your devices. Today, you can use your Chromebook to view and respond to chat notifications, toggle Do Not Disturb, set off the ringtone to find your phone or continue browsing recent Chrome tabs. Later this year, if you’re working on your Chromebook and your Android phone is out of reach (such as charging in a different room), you’ll be able to stay in touch by accessing chat apps from your phone directly to your Chromebook –without needing to install them again on your Chromebook. We’re also excited to add Camera Roll to the Phone Hub, which makes access to your most recent photos and videos as easy as one click.

A phone receiving a text message, with the message appearing on a red laptop for responding

Today, you can already use your voice while driving to close the garage door, turn off the kitchen lights, turn down the thermostat and check if you locked the front door. You’ll soon be able to ask Google for help even before you leave the front door. With remote actions, you can use your voice to warm up and cool down your car, lock and unlock and get information (like how much battery you have left) on all Assistant-enabled devices. These capabilities are coming first to vehicles from Volvo Cars in the coming months, with more to follow.

Do more with Android and Windows PCs

For the first time with Android, we’re also focused on building for other platforms, like Windows, whether it's in gaming, productivity or other areas. For example, by connecting your Android phone to your Windows PC with Fast Pair, you’ll be able to quickly set up Bluetooth accessories, sync text messages and share files with Nearby Share. We’re working with Acer, HP and Intel to bring these experiences to select Windows PCs first later this year.

An HP Windows PC laptop next to a phone showing Nearby Share as a feature for sending files

These features will be rolling out throughout the year. Moving forward, you’ll continue to see us invest in more helpful ways for your devices to work better together.

Develop watch faces with the stable Jetpack Watch Face library

Posted by Alex Vanyo, Developer Relations Engineer

Illustration of tan hand showing a watch

Watch faces are one of the most visible ways that people express themselves on their smartwatches, and they’re one of the best ways to display your brand to your users.

Watch Face Studio from Samsung is a great tool for creating watch faces without writing any code. For developers who want more fine-tuned control, we've recently launched the Jetpack Watch Face library written from the ground up in Kotlin.

The stable release of the Jetpack Watch Face library includes all functionality from the Wearable Support Library and many new features that make it easier to support customization on the smartwatch and on the system companion app on mobile, including:

  • Watch face styling which persists across both the watch and phone (with no need for your own database or companion app).
  • Support for a WYSIWYG watch face configuration UI on the phone.
  • Smaller, separate libraries (that only include what you need).
  • Battery improvements through encouraging good battery usage patterns out of the box, such as automatically reducing the interactive frame rate when battery is low.
  • New screenshot APIs so users can see previews of their watch face changes in real time on both the watch and phone.

If you are still using the Wearable Support Library, we strongly encourage migrating to the new Jetpack libraries to take advantage of the new APIs and upcoming features and bug fixes.


Below is an example of configuring a watch face from the phone with no code written on or for the phone.

GIF showing how to edit a watch face using the Galaxy Wearable mobile companion app

Editing a watch face using the Galaxy Wearable mobile companion app


If you use the Jetpack Watch Face library to save your watch face configuration options, the values are synced with the mobile companion app. That is, all the cross-device communication is handled for you.

The mobile app will automatically present those options to the user in a simple, intuitive user interface where they change them to whatever works best for their style. It also includes previews that update in real time.

Let’s dive into the API with an overview of the most important components for creating a custom watch face!


WatchFaceService

A subclass of WatchFaceService forms the entry point of any Jetpack watch face. Implementing a WatchFaceService requires creating 3 objects: A UserStyleSchema, a ComplicationSlotsManager, and a WatchFace:

Diagram showing the 3 main parts of a WatchFaceService

Diagram showing the 3 main parts of a WatchFaceService

These 3 objects are specified by overriding 3 abstract methods from WatchFaceService:

class CustomWatchFaceService : WatchFaceService() {

    /**
     * The specification of settings the watch face supports.
     * This is similar to a database schema.
     */
    override fun createUserStyleSchema(): UserStyleSchema = // ...

    /**
     * The complication slot configuration for the watchface.
     */
    override fun createComplicationSlotsManager(
        currentUserStyleRepository: CurrentUserStyleRepository
    ): ComplicationSlotsManager = // ...

    /**
     * The watch face itself, which includes the renderer for drawing.
     */ 
    override suspend fun createWatchFace(
        surfaceHolder: SurfaceHolder,
        watchState: WatchState,
        complicationSlotsManager: ComplicationSlotsManager,
        currentUserStyleRepository: CurrentUserStyleRepository
    ): WatchFace = // ...

}

Let’s take a more detailed look at each one of these in turn, and some of the other classes that the library creates on your behalf.


UserStyleSchema

The UserStyleSchema defines the primary information source for a Jetpack watch face. The UserStyleSchema should contain a list of all customization settings available to the user, as well as information about what those options do and what the default option is. These settings can be boolean flags, lists, ranges, and more.

By providing this schema, the library will automatically keep track of changes to settings by the user, either through the mobile companion app on a connected phone or via changes made on the smartwatch in a custom editor activity.

    override fun createUserStyleSchema(): UserStyleSchema =
        UserStyleSchema(
            listOf(
                // Allows user to change the color styles of the watch face
                UserStyleSetting.ListUserStyleSetting(
                    UserStyleSetting.Id(COLOR_STYLE_SETTING),
                    // ...
                ),
                // Allows user to toggle on/off the hour pips (dashes around the outer edge of the watch
                UserStyleSetting.BooleanUserStyleSetting(
                    UserStyleSetting.Id(DRAW_HOUR_PIPS_STYLE_SETTING),
                    // ...
                ),
                // Allows user to change the length of the minute hand
                UserStyleSetting.DoubleRangeUserStyleSetting(
                    UserStyleSetting.Id(WATCH_HAND_LENGTH_STYLE_SETTING),
                    // ...
                )
            )
        )

CurrentUserStyleRepository

The current user style can be observed via the ​​CurrentUserStyleRepository, which is created by the library based on the UserStyleSchema.

It gives you a UserStyle which is just a Map with keys based on the settings defined in the schema:

Map<UserStyleSetting, UserStyleSetting.Option>

As the user’s preferences change, a MutableStateFlow of UserStyle will emit the latest selected options for all of the settings defined in the UserStyleSchema.

currentUserStyleRepository.userStyle.collect { newUserStyle ->
    // Update configuration based on user style
}

CurrentUserStyleRepository

Complications allow a watch face to display additional information from other apps on the watch, such as events, health data, or the day.

The ComplicationSlotsManager defines how many complications a watch face supports, and where they are positioned on the screen. To support changing the location or number of complications, the ComplicationSlotsManager also uses the ​​CurrentUserStyleRepository.

    override fun createComplicationSlotsManager(
        currentUserStyleRepository: CurrentUserStyleRepository
    ): ComplicationSlotsManager {
        val defaultCanvasComplicationFactory =
            CanvasComplicationFactory { watchState, listener ->
                // ...
            }
    
        val leftComplicationSlot = ComplicationSlot.createRoundRectComplicationSlotBuilder(
            id = 100,
            canvasComplicationFactory = defaultCanvasComplicationFactory,
            // ...
        )
            .setDefaultDataSourceType(ComplicationType.SHORT_TEXT)
            .build()
    
        val rightComplicationSlot = ComplicationSlot.createRoundRectComplicationSlotBuilder(
            id = 101,
            canvasComplicationFactory = defaultCanvasComplicationFactory,
            // ...
        )
            .setDefaultDataSourceType(ComplicationType.SHORT_TEXT)
            .build()

        return ComplicationSlotsManager(
            listOf(leftComplicationSlot, rightComplicationSlot),
            currentUserStyleRepository
        )
    }

WatchFace

The WatchFace describes the type of watch face and how to draw it.

A WatchFace can be specified as digital or analog and can optionally have a tap listener for when the user taps on the watch face.

Most importantly, a WatchFace specifies a Renderer, which actually renders the watch face:

    override suspend fun createWatchFace(
        surfaceHolder: SurfaceHolder,
        watchState: WatchState,
        complicationSlotsManager: ComplicationSlotsManager,
        currentUserStyleRepository: CurrentUserStyleRepository
    ): WatchFace = WatchFace(
        watchFaceType = WatchFaceType.ANALOG,
        renderer = // ...
    )

Renderer

The prettiest part of a watch face! Every watch face will create a custom subclass of a renderer that implements everything needed to actually draw the watch face to a canvas.

The renderer is in charge of combining the UserStyle (the map from ​​CurrentUserStyleRepository), the complication information from ComplicationSlotsManager, the current time, and other state information to render the watch face.

class CustomCanvasRenderer(
    private val context: Context,
    surfaceHolder: SurfaceHolder,
    watchState: WatchState,
    private val complicationSlotsManager: ComplicationSlotsManager,
    currentUserStyleRepository: CurrentUserStyleRepository,
    canvasType: Int
) : Renderer.CanvasRenderer(
    surfaceHolder = surfaceHolder,
    currentUserStyleRepository = currentUserStyleRepository,
    watchState = watchState,
    canvasType = canvasType,
    interactiveDrawModeUpdateDelayMillis = 16L
) {
    override fun render(canvas: Canvas, bounds: Rect, zonedDateTime: ZonedDateTime) {
        // Draw into the canvas!
    }

    override fun renderHighlightLayer(canvas: Canvas, bounds: Rect, zonedDateTime: ZonedDateTime) {
        // Draw into the canvas!
    }
}

EditorSession

In addition to the system WYSIWYG editor on the phone, we strongly encourage supporting configuration on the smartwatch to allow the user to customize their watch face without requiring a companion device.

To support this, a watch face can provide a configuration Activity and allow the user to change settings using an EditorSession returned from EditorSession.createOnWatchEditorSession. As the user makes changes, calling EditorSession.renderWatchFaceToBitmap provides a live preview of the watch face in the editor Activity.

To see how the whole puzzle fits together to tell the time, check out the watchface sample on GitHub. To learn more about developing for Wear OS, check out the developer website.

Watch out for Wear OS at Android Dev Summit 2021

Posted by Jeremy Walker, Developer Relations Engineer

image of 4 watch faces against dark blue background.

This year’s Android Dev Summit had many exciting announcements for Android developers, including some major updates for the Wear OS platform. At Google I/O, we announced the launch of the new Wear OS. Since then, Wear OS Powered by Samsung has launched on the Galaxy Watch4 series. Many developers such as Strava, Spotify, and Calm have already created helpful experiences for the latest version of Wear OS, and we’re looking forward to seeing what new experiences developers will help bring to the watch. To learn more and create better apps for the wrist, read more about the updates to our APIs, design tools, and the Play store.


Compose for Wear OS

The Jetpack Compose library simplifies and accelerates UI development, and we’re bringing Compose support to Wear OS. You can design your app with familiar UI components, adapted for the watch. These components include Material You, so you can create beautiful apps with less code.

Compose for Wear OS is now in developer preview. To learn more and get started:

Try it out and share your feedback here or join the #compose-wear channel on the Jetbrains Slack and let us know there! Make sure you do it before we finalize APIs during beta!


Watch Face Studio

image of clock face in editing software

Watch faces are one of the most visible ways that users can express themselves on their smartwatches. Creating a watch face is a great way to showcase your brand for users on Wear OS. We’ve partnered with Samsung to provide better tools for watch face creation and make it easier to design watch faces for the Wear OS ecosystem.

Watch Face Studio is a design tool created by Samsung that allows you to produce and distribute your own watch faces without any coding. It includes includes intuitive graphics tools to allow you to easily design watch faces. You can create watch faces for your personal use, or upload them in Google Play Console to share with your users on Wear OS devices that support API level 28 and above.


Library updates

We recently released a number of Android Jetpack Wear OS libraries to help you follow best practices, reduce boilerplate, and create performant, glanceable experiences for your users.

Tiles are now enabled for most devices in the market, providing predictable, glanceable access to information and quick actions. The API is now in beta, check it out!

For developers who want more fine-grain control of their watch faces (outside of Watch Face Studio), we've launched the new Jetpack Watch Face APIs beta built from the ground up in Kotlin.

The new API offers a number of new features:

  • Watch face styling which persists across both the watch and phone (no need for your own database).
  • Support a WYSIWYG watch face configuration UI on the phone.
  • Smaller, separate libraries (only include what you need).
  • Battery improvements by encouraging good battery usage patterns out of the box; for example, reducing the interactive frame rate when battery is low.
  • New Screenshot APIs so users can see their watch face changes in real time.
  • And many more...

This is a great time to start moving from the older Watch Face Support Library to this new version.


Play Store updates

We’re making it easier for people to discover your Wear OS apps in the Google Play Store. Earlier this year, we enabled searching for watch faces and made it easier for people to find your apps in the Wear category. We also launched the capability for people to download apps onto their watches directly from the mobile Play Store. You can read more about these changes here.

We’ve also released updated Wear OS quality guidelines to help you meet your users’ expectations, as well as new screenshot guidelines to help your users have a better understanding of what your app will look like. To help people better understand how your app would work on their device in their location, we will be launching form factor and location specific ratings in 2022.

To learn more about developing for Wear OS, check out the developer website.

Sharing Tiles with your smartwatch users:

Posted by Jeremy Walker, Engineer

Tiles provide quick access to information and actions with a simple swipe from the watch face home screen. This gives smartwatch users more control over what information and actions they want to see, and it’s no surprise that Tiles have become one of the most helpful and useful features for smartwatches that run on Wear OS.

Today we’re announcing Tiles can be shared with your smartwatch users. You can start creating your custom Tile by downloading the latest Alpha release of the Jetpack Tiles API. Once you upload your experience to Google Play, your users will be able to download your Tile and start using it. Let your users know they can try out the new experience. You can also upload a screenshot of your Tile to your Play Store preview assets within Google Play Console.

Apps such as Calm and Sleep Cycle have already started building custom Tiles.


Tiles blog









"Using the new Tiles API, we were able to easily expose our Wear app features to be just a swipe away from your watch face." -Samo Kralj, Android Staff Software Engineer at Calm.

Tiles blog











The API was easy to understand and the documentation was quite clear, enabling us to have our first tile running with real data within hours. It feels like a very modern API that is easy to get started with.” -Viktor Åkerskog, Technical Lead at Sleep Cycle












We've appreciated all your feedback on the alpha library, and have included many of the requests and performance improvements into the APIs. You can add any additional feedback here to help us prioritize API improvements for future releases.

If you haven't had a chance to try out the API, check out the guide, or if you prefer a walkthrough, explore the Tiles codelab.

Happy coding!

5 things to try with Wear OS on the Samsung Galaxy Watch4

For over a decade, Samsung and Google have worked together to push mobile technology forward across smartphones, tablets and foldables. We both want to bring users the best experiences possible, and as partners, we love a challenge. And now, we’re ready to take our collaboration to the next level with smartwatches. 


Smartwatches are the next step in mobile computing and we’re truly excited about the future of wearables. Today at Unpacked, Samsung unveiled its new Galaxy Watch4 with Wear OS Powered by Samsung. It’s the first smartwatch running on our unified platform.


We’re taking what we’ve learned from Wear OS and Tizen to jointly build what smartwatch users need. Compared to previous Wear OS smartwatches, the Galaxy Watch4 features a 2.5x shorter set up experience, up to 40 hours of battery life, optimized performance with app launch times 30 percent faster than before and access to a huge ecosystem of apps and services.


And there are more ways to get more done from your wrist with Wear OS. We’re introducing more capabilities and a fresh new look based on Material You design language for Google Maps, Messages by Google and Google Pay apps as well as launching a YouTube Music app. There are also new apps and Tiles coming to Wear OS for quicker access to your favorites. Let’s get into the details:

1. Navigate with Google Maps on your wrist

The Google Maps app on Wear OS will get you to your destination as efficiently as possible, whether you’re walking, cycling or driving. Turn-by-turn directions sent from phone to watch will help you to arrive on time. The watch app also syncs with Google Maps on your phone, and will show the home and work addresses you’ve added for easy access, as well as recent searches so you can start navigating where you want to go quickly.
Watch showing Google Maps

2. Stay connected with Messages by Google

With the updated Messages by Google app, you can receive messages on the go and easily reply directly from your watch without needing to take out your phone. The Messages app on your watch syncs with your phone, so your conversations stay up to date. If you’re in the United States, South Korea or Japan, you can download Messages on your Galaxy Watch4 from Google Play. For all other supported countries, Messages will already be available on your smartwatch.

Watch showing Messages by Google in a scrolling gif

3. Pay in more countries with Google Pay

Easy contactless payment from your wrist has always been a part of Wear OS. We’re now expanding support for Google Pay to 16 new countries including Belgium, Brazil, Chile, Croatia, Czech Republic, Denmark, Finland, Hong Kong, Ireland, New Zealand, Norway, Slovakia, Sweden, Taiwan, Ukraine and United Arab Emirates, with more to come. You’ll also see the app’s revamped design so credit cards stored in your wallet are larger and easier to swipe through. 

To use Google Pay on your Galaxy Watch4, download the app in Google Play on your smartwatch. Once Google Pay is added to your smartwatch, you’ll be able to see it alongside your other apps.

Watch showing Google Pay

4. Download and listen to your favorite tunes with YouTube Music

YouTube Music Premium subscribers will enjoy access to more than 80 million songs and thousands of playlists on the new YouTube Music app on Wear OS. This standalone app is the first smartwatch app from YouTube Music that allows YouTube Music Premium subscribers to download music for ad-free offline listening, even without your phone nearby. The app also comes with the Smart Downloads feature, which refreshes the songs you’ve downloaded to your watch whenever it’s charging and connected to WiFi. You can even use tailored playlists for the perfect soundtrack, whatever you’re doing. 

YouTube Music will be available for download to your Galaxy Watch4 from Google Play.

Watch showing YouTube Music app

5. Discover new Google Play apps and Tiles

At Google I/O, we shared that we’ve been working with developers to bring richer, immersive apps to Wear OS. We also made updates to Google Play for Wear OS so it’s easier to discover and download apps. Now we’re introducing new experiences from your favorite apps to your smartwatch, including Calm, Komoot, MyFitnessPal, Period Tracker, Sleep Cycle, Spotify, Strava and many more.


Six different watches showing different third-party apps

Many of these apps will also launch new third-party Tiles, so there’s a quick way to access the information and actions you care about most.

This will all be available on your Galaxy Watch4 and Galaxy Watch4 Classic, available for pre-order in select markets today and in retail starting August 27. And for current Wear OS users, you’ll see some of these updates begin to roll out starting today.

What’s new for Android developers at Google I/O

Cross-posted on the Android Developers blog by Karen Ng, Director, Product Management & Jacob Lehrbaum, Director of Developer Relations, Android & Play

As Android developers, we are all driven by building experiences that delight people around the world. And with people depending on your apps more than ever, expectations are higher and your jobs as developers aren’t getting easier. Today, at Google I/O, we covered a few ways that we’re trying to help out, whether it be through Android 12 - one of the biggest design changes ever, Jetpack, Jetpack Compose, Android Studio, and Kotlin to help you build beautiful high quality apps. We’re also helping when it comes to extending your apps wherever your users go, like through wearables and larger-screened devices. You can watch the full Developer Keynote, but here are a few highlights:

Android 12: one of the biggest design updates ever.

The first Beta of Android 12 just started rolling out, and it’s packed with lots of cool stuff. From new user safety features like permissions for bluetooth and approximate location, enhancements to performance like expedited jobs and start up animations, to delightful experiences with more interactive widgets and stretch overscrolling, this release is one of the biggest design updates to Android ever. You can read more about what’s in Android 12 Beta 1 here, so you can start preparing your apps for the consumer release coming out later this year. Download the Beta and try it with your apps today!

Android 12 visual

Jetpack Compose: get ready for 1.0 in July!

For the last few years, we’ve been hard at work modernizing the Android development experience, listening to your feedback to keep the openness–a hallmark of Android, but becoming more opinionated about the right way to do things. You can see this throughout, from Android Studio, a performant IDE that can keep up with you, to Kotlin, a programming language that enables you to do more with less code, to Jetpack libraries that solve the hardest problems on mobile with backward compatibility.

The next step in this offering is Jetpack Compose - our modern UI toolkit to easily build beautiful apps for all Android devices. We announced Compose here at Google I/O two years ago and since then have been building it in the open, listening to your feedback to make sure we got it right. With the Compose Beta earlier this year, developers around the world have created some truly beautiful, innovative experiences in half the time, and the response to the #AndroidDevChallenge blew our socks off!

With the forthcoming update of Material You (which you can read more about here), we’ll be adding new Material components as well as further support for building for large screens, making it fast and easy to build a gorgeous UI. We’re pressure testing the final bits in Compose and will release 1.0 Stable in July—so get ready!

Android Studio Arctic Fox: Design, Devices, & Developer Productivity!

Android Studio Arctic Fox (2020.3.1) Beta, the latest release of the official powerful Android IDE, is out today to help you build quality apps easier and faster. We have delivered and updated the suite of tools to empower three major themes: accelerate your UI design, extend your app to new devices, and boost your developer productivity. With this latest release you can create modern UIs with Compose tooling, see test results across multiple devices, and optimize debugging databases and background tasks with the App Inspector. We’re also making your apps more accessible with the Accessibility Scanner and more performant with Memory Profiler. And for faster build speeds, we have the Android Gradle plugin 7.0, new DSL, and variant APIs. You can learn more about the Android Studio updates here.

Android Studio Arctic Fox

Kotlin: the most used language by professional Android devs

Kotlin is now the most used primary language by professional Android developers according to our recent surveys; in fact, over 1.2M apps in the Play Store use Kotlin, including 80% of the top 1000 apps. And here at Google, we love it too: 70+ Google apps like Drive, Home, Maps and Play use Kotlin. And with a brand-new native solution to annotation processing for Kotlin built from the ground up, Kotlin Symbol Processing is available today, a powerful and yet simple API for parsing Kotlin code directly, showing speeds up to 2x faster with libraries like Room.

Android Jetpack: write features, not boilerplate

With Android Jetpack, we built a suite of libraries to help reduce boilerplate code so you can focus on the code you care about. Over 84% of the top 10,000 apps are now using a Jetpack library. And today, we’re unpacking some new releases for Jetpack, including Jetpack Macrobenchmark (Alpha) to capture large interactions that affect your app startup and jank before your app is released, as well as a new Kotlin Coroutines API for persisting data more efficiently via Jetpack DataStore (Beta). You can read about all the updates in Android Jetpack here.

Now is the time: a big step for Wear

The best thing about modern Android development is that these tools have been purpose built to help make it easy for you to build for the next era of Android, which is all about enabling devices connected to your phone–TVs, cars, watches, tablets–to work better together.

Starting today, we take a huge step forward with wearables. First, we introduced a unified platform built jointly with Samsung, combining the best of Wear and Tizen. Second, we shared a new consumer experience with revamped Google apps. And third, a world-class health and fitness service from Fitbit is coming to the platform. As an Android developer, it means you’ll have more reach, and you’ll be able to use all of your existing skills, tools, and APIs that make your mobile apps great, to build for a single wearables platform used by people all over the world.

Whether it’s new Jetpack APIs for Wear tailored for small screens and designed to optimize battery life, to the Jetpack Tiles API, so you can create a custom Tile for all the devices in the Wear ecosystem, there are a number of new features to help you build on Wear. And with a new set of APIs for Health and Fitness, created in collaboration with Samsung, data collection from sensors and metrics computation is streamlined, consistent, and accurate–like heart rate to calories to daily distance–from one trusted source. All this comes together in new tooling, with the release of Android Studio Arctic Fox Beta, like easier pairing to test apps, and even a virtual heart rate sensor in the emulator. And when your app is ready, users will have a much easier time discovering the world of Wear apps on Google Play, with some big updates to discoverability. You can read more about all of the Wear updates here.

Tapping the momentum of larger screens, like tablets, Chrome OS and foldables

When it comes to larger screens -- tablets, foldables, and Chrome OS laptops-- there is huge momentum. People are increasingly relying on large screen devices to stay connected with family and friends, go to school, or work remotely. In fact, there are over 250 million active large screen Android devices. Last year, Chrome OS grew +92% year over year–5 times the rate of the PC market, making Chrome OS the fastest growing and the second-most popular desktop OS. To help you take advantage of this momentum, we’re giving you APIs and tools to make optimizing that experience easier: like having your content resize automatically to more space by using SlidingpaneLayout 1.2.0 and a new vertical navigation rail component, Max widths on components to avoid stretched UIs, as well as updates to the platform, Chrome OS, and Jetpack windowmanager, so apps work better by default. You can learn more here.

Google Duo's optimized experience for foldable devices

Google Duo's optimized experience for foldable devices

This is just a taste of some of the new ways we’re making it easier for you to build high quality Android apps. Later today, we’ll be releasing more than 20 technical sessions on Android and Play, covering a wide range of topics such as background tasks, privacy, and Machine Learning on Android, or the top 12 tips to get you ready for Android 12. If building for cars, TVs, and wearables is your thing, we got that covered, too. You can find all these sessions - and more - on the I/O website. Beyond the sessions and news, there’s a number of fun ways to virtually connect with Googlers and other developers at this year’s Google I/O. You can check out the Android dome in I/O Adventure, where you can see new blog posts, videos, codelabs, and more. Maybe even test out your Jetpack Compose skills or take a virtual tour of the cars inside our dome!

What’s new for Android developers at Google I/O

Posted by Karen Ng, Director, Product Management & Jacob Lehrbaum, Director of Developer Relations, Android & Play

As Android developers, we are all driven by building experiences that delight people around the world. And with people depending on your apps more than ever, expectations are higher and your jobs as developers aren’t getting easier. Today, at Google I/O, we covered a few ways that we’re trying to help out, whether it be through Android 12 - one of the biggest design changes ever, Jetpack, Jetpack Compose, Android Studio, and Kotlin to help you build beautiful high quality apps. We’re also helping when it comes to extending your apps wherever your users go, like through wearables and larger-screened devices. You can watch the full Developer Keynote, but here are a few highlights:

Android 12: one of the biggest design updates ever.

The first Beta of Android 12 just started rolling out, and it’s packed with lots of cool stuff. From new user safety features like permissions for bluetooth and approximate location, enhancements to performance like expedited jobs and start up animations, to delightful experiences with more interactive widgets and stretch overscrolling, this release is one of the biggest design updates to Android ever. You can read more about what’s in Android 12 Beta 1 here, so you can start preparing your apps for the consumer release coming out later this year. Download the Beta and try it with your apps today!

Android 12 visual

Jetpack Compose: get ready for 1.0 in July!

For the last few years, we’ve been hard at work modernizing the Android development experience, listening to your feedback to keep the openness–a hallmark of Android, but becoming more opinionated about the right way to do things. You can see this throughout, from Android Studio, a performant IDE that can keep up with you, to Kotlin, a programming language that enables you to do more with less code, to Jetpack libraries that solve the hardest problems on mobile with backward compatibility.

The next step in this offering is Jetpack Compose - our modern UI toolkit to easily build beautiful apps for all Android devices. We announced Compose here at Google I/O two years ago and since then have been building it in the open, listening to your feedback to make sure we got it right. With the Compose Beta earlier this year, developers around the world have created some truly beautiful, innovative experiences in half the time, and the response to the #AndroidDevChallenge blew our socks off!

With the forthcoming update of Material You (which you can read more about here), we’ll be adding new Material components as well as further support for building for large screens, making it fast and easy to build a gorgeous UI. We’re pressure testing the final bits in Compose and will release 1.0 Stable in July—so get ready!

Android Studio Arctic Fox: Design, Devices, & Developer Productivity!

Android Studio Arctic Fox (2020.3.1) Beta, the latest release of the official powerful Android IDE, is out today to help you build quality apps easier and faster. We have delivered and updated the suite of tools to empower three major themes: accelerate your UI design, extend your app to new devices, and boost your developer productivity. With this latest release you can create modern UIs with Compose tooling, see test results across multiple devices, and optimize debugging databases and background tasks with the App Inspector. We’re also making your apps more accessible with the Accessibility Scanner and more performant with Memory Profiler. And for faster build speeds, we have the Android Gradle plugin 7.0, new DSL, and variant APIs. You can learn more about the Android Studio updates here.

Android Studio Arctic Fox

Kotlin: the most used language by professional Android devs

Kotlin is now the most used primary language by professional Android developers according to our recent surveys; in fact, over 1.2M apps in the Play Store use Kotlin, including 80% of the top 1000 apps. And here at Google, we love it too: 70+ Google apps like Drive, Home, Maps and Play use Kotlin. And with a brand-new native solution to annotation processing for Kotlin built from the ground up, Kotlin Symbol Processing is available today, a powerful and yet simple API for parsing Kotlin code directly, showing speeds up to 2x faster with libraries like Room.

Android Jetpack: write features, not boilerplate

With Android Jetpack, we built a suite of libraries to help reduce boilerplate code so you can focus on the code you care about. Over 84% of the top 10,000 apps are now using a Jetpack library. And today, we’re unpacking some new releases for Jetpack, including Jetpack Macrobenchmark (Alpha) to capture large interactions that affect your app startup and jank before your app is released, as well as a new Kotlin Coroutines API for persisting data more efficiently via Jetpack DataStore (Beta). You can read about all the updates in Android Jetpack here.

Now is the time: a big step for Wear

The best thing about modern Android development is that these tools have been purpose built to help make it easy for you to build for the next era of Android, which is all about enabling devices connected to your phone–TVs, cars, watches, tablets–to work better together.

Starting today, we take a huge step forward with wearables. First, we introduced a unified platform built jointly with Samsung, combining the best of Wear and Tizen. Second, we shared a new consumer experience with revamped Google apps. And third, a world-class health and fitness service from Fitbit is coming to the platform. As an Android developer, it means you’ll have more reach, and you’ll be able to use all of your existing skills, tools, and APIs that make your mobile apps great, to build for a single wearables platform used by people all over the world.

Whether it’s new Jetpack APIs for Wear tailored for small screens and designed to optimize battery life, to the Jetpack Tiles API, so you can create a custom Tile for all the devices in the Wear ecosystem, there are a number of new features to help you build on Wear. And with a new set of APIs for Health and Fitness, created in collaboration with Samsung, data collection from sensors and metrics computation is streamlined, consistent, and accurate–like heart rate to calories to daily distance–from one trusted source. All this comes together in new tooling, with the release of Android Studio Arctic Fox Beta, like easier pairing to test apps, and even a virtual heart rate sensor in the emulator. And when your app is ready, users will have a much easier time discovering the world of Wear apps on Google Play, with some big updates to discoverability. You can read more about all of the Wear updates here.

Tapping the momentum of larger screens, like tablets, Chrome OS and foldables

When it comes to larger screens -- tablets, foldables, and Chrome OS laptops-- there is huge momentum. People are increasingly relying on large screen devices to stay connected with family and friends, go to school, or work remotely. In fact, there are over 250 million active large screen Android devices. Last year, Chrome OS grew +92% year over year–5 times the rate of the PC market, making Chrome OS the fastest growing and the second-most popular desktop OS. To help you take advantage of this momentum, we’re giving you APIs and tools to make optimizing that experience easier: like having your content resize automatically to more space by using SlidingpaneLayout 1.2.0 and a new vertical navigation rail component, Max widths on components to avoid stretched UIs, as well as updates to the platform, Chrome OS, and Jetpack windowmanager, so apps work better by default. You can learn more here.

Google Duo's optimized experience for foldable devices

Google Duo's optimized experience for foldable devices

This is just a taste of some of the new ways we’re making it easier for you to build high quality Android apps. Later today, we’ll be releasing more than 20 technical sessions on Android and Play, covering a wide range of topics such as background tasks, privacy, and Machine Learning on Android, or the top 12 tips to get you ready for Android 12. If building for cars, TVs, and wearables is your thing, we got that covered, too. You can find all these sessions - and more - on the I/O website. Beyond the sessions and news, there’s a number of fun ways to virtually connect with Googlers and other developers at this year’s Google I/O. You can check out the Android dome in I/O Adventure, where you can see new blog posts, videos, codelabs, and more. Maybe even test out your Jetpack Compose skills or take a virtual tour of the cars inside our dome!