Posted by The Android Team
At this year’s Google I / O, we talked about how your app can take advantage of Android’s various large and small screens. But if you missed the show, here are the top things to know:
Tablets, foldables and large screens
It’s more important than ever to design your app to work well on large screens – including tablets, foldable devices, and Chrome OS laptops. Today, over 250 million large Android screens are in use. Meanwhile, new foldable devices make it easier for users to multitask and open up new experiences like tabletop mode for hands-free activities. Check out this example from Disney + in tabletop mode on the Samsung Galaxy Z Fold2.
Fortunately, it’s also easier than ever to design apps that seamlessly fit any device size – including dynamically resizing on Chrome OS and foldable devices, and using Jetpack Compose or ConstraintLayout to create responsive layouts. We also looked at how people interact with large screens, e.g. B. where your fingers are, and we’ll provide APIs and tools to make this experience easier:
We also updated the Android platform, Chrome OS, and Jetpack WindowManager so that apps work better by default. For example, many UI elements now have default maximum width values to ensure they look better on large screens, while changes to the Display API ensure that existing apps continue to render correctly on collapsible objects, even if they aren’t to the WindowManager Use querying window metrics.
Learn more about how we can help you create for large screens with these I / O sessions:
For more information, see the article on What’s New in Foldable Devices, Tablets, and Big Screens, or the case study of How Google Duo Get More Engagement and Better Ratings.
Operating system wear
We announced our biggest update to the Wear platform yet, with new features, APIs, and tools to help developers create beautiful, high-quality wearable experiences.
There are new Jetpack APIs to help you streamline your development. The Tiles Library gives users quick, predictable access to the information and actions they rely on most. Another notable addition is the Ongoing Activity API, which allows you to allow your users to return to your app after navigating (to start other tasks like playing music). Both libraries are currently in the alpha phase.
We also released a new set of health and fitness APIs that act as intermediaries to the sensors and associated algorithms on the device to provide apps with high quality data on activity, exercise and health. The Alpha of the Health Services Platform is available starting today.
Download Android Studio Arctic Fox Beta to try a developer preview of the new Wear system image and get your apps ready for the new platform. Check out the following I / O sessions to learn more about these announcements:
You can also read more details on the latest changes to Wear and how Spotify is building on Wear.
Android TV OS now has over 80 million monthly active devices, growing by 80% in the US, and is at the heart of the Google TV experience launched last fall. Google TV itself can now be found on streaming devices such as the Chromecast with Google TV, smart TVs from Sony and as an app on Android devices – including tablets.
This year, at I / O, we announced several new tools and features that will make development for Android TV OS easier:
- Cast Connect with Stream Transfer allows existing audio and video streams to be moved between Cast devices, while Stream Expansion allows audio to be played on multiple devices at the same time.
- We’re now making our first Google TV emulator available alongside the Android TV emulator, both of which run on Android 11.
- Firebase Test Lab adds Android TV support so you can test your app in the cloud on hundreds or thousands of virtual devices. Physical devices will be available soon.
- We’re making Android 12 Beta 1 available for viewing on ADT-3 today.
These versions make it easy to create and test applications for a range of device configurations while bringing the latest Android 12, Googler Assistant and Cast features to the TV. To learn more, watch the What’s New on Android TV and Google TV session from I / O.
Android for cars
With Android Auto, applications can connect to the infotainment displays integrated in many modern vehicles. To make this even easier, we recently made the Android for Cars App Library available as part of Jetpack. This library enables navigation, e-charging and parking apps to be integrated directly into compatible cars.
We plan to expand to other app categories in the future. So if you would like to express your interest in bringing your app to Android Auto, please fill out this form. You can also get started with the Android for Cars App Library today by visiting g.co/androidforcars. Check out I / O’s What’s new with Android for Cars session for even more details, or the accompanying blog post What’s new with Android for Cars.