[MUSIC PLAYING]
DANIEL GALPIN: Welcome to "Now in Android,"
your ongoing guide to what's new and notable in the world
of Android development.
Today, we're covering Android 13 for TV
and TV's new archival app bundle requirement, Compose
for Wear OS 1.1, the Android Privacy Sandbox
Beta, CameraViewfinder, architecture templates, shaders
and graphics, Google Play, Jetpack Compose, and more.
We released Android 13 for TVs, bringing new APIs
to the big screen, including improvements
to the audio manager API, the ability for users
to change the default resolution and refresh rate on supported
HDMI source devices, surfacing of HDMI
state changes in the media session lifecycle,
support for different keyboard layouts in the input device
API, and audio descriptions API and accessibility manager
to query user preferences, and all the other improvements
Android 13 brings.
Starting in May 2023, Google TV and Android TV
will be requiring archival Android app
bundles to help users save their typically limited TV device
storage.
Archiving reclaims around 60% of app storage,
allowing users to keep more apps on their TV
using the built-in quick archive on archive user interface.
Apps that have not transitioned in time
may be hidden from TV devices.
We released Compose for Wear OS 1.1,
our modern declarative UI toolkit to help
you build beautiful responsive apps for Wear OS.
The release includes new functionality,
such as an outline style for chips and buttons,
the ability to modify shapes or toggle chip and button toggle
button components using new function
overloads, an experimental placeholder
API, the scrollAway modifier, additional parameters and curve
textile, user experience refinements, TalkBack support
improvements, and better overall accessibility.
We shared details so you can prepare
for the incremental rollout early next year
of the initial Privacy Sandbox Beta, a project
with the goal of bringing Android new, more
private advertising solutions.
The post has more on how to enroll
to access the privacy preserving APIs, how to participate
in the beta program, and how to register your interest
in the closed SDK Runtime Beta.
We introduce CameraViewfinder, a new Jetpack library artifact
designed to work with your existing Camera2 code base that
allows you to quickly implement camera
previews with minimal effort.
It uses either a texture view or surface view
to display the camera feed, correcting the aspect
ratio, scale, and rotation to accurately display
the viewfinder.
The post covers how to use CameraViewfinder, including
how to combine it with the Jetpack WindowManager library
to provide unique experiences on foldable devices.
We released the Android Architecture Starter Templates,
a new project on GitHub that gets you started quickly
with a project that follows our recently released architecture
recommendations, whether you're building a new app or just
a quick experiment.
We're delivering them separately from Android Studio
so they will always reflect the latest dependencies
to get you started as quickly as possible.
We had four graphics-focused articles
covering RenderEffect, RenderNode, and AGSL,
the Android Graphics Shading Language.
Chet began with covering how to use the blur effect introduced
with Android 12, followed by an introduction to Android 13's
AGSL and how to write pixel shaders that
work within Android's Canvas drawing system.
The next article focused on how to leverage
the power of RenderNode.
Rebecca then covered how to animate image vectors
and apply AGSL effects in Compose.
And speaking of Compose, Alejandra
covered using variable fonts in Compose 1.3.
[INAUDIBLE] talked about the adventure
he and Sarah had in making a game with composed
Canvas on Wear OS.
Ben then covered when and where to use the drive state of API.
And Sagar explained how to make largely view-based apps that
are integrating Jetpack Compose faster using the app startup
library and custom baseline profiles.
[INAUDIBLE] did a two-part series
covering per-app language preferences,
where part one explains how to integrate
the API into your app using the AndroidX Appcompat library,
where part two covers popular apps that are using the API
and how it benefits them.
Patrick then wrote tips to help scale made for mobile apps
to ChromeOS, many of which apply to adapting
your app or any large-screen Android device.
The latest notes from Google Play from Purnima
covered Play features, such as custom store
listings and promotional content cards
to help grow your business, new tools, guidance, and courses
to help your app enter new markets,
ways in which Play is supporting bringing your app to more
devices, and new features and programs
to help you navigate trust and safety on Google Play,
including the expanded developer help line program and Strike
Removal program.
My video on how to migrate your apps to Android 13
dropped on YouTube, covering almost everything
that you'll need to make your app compatible with target
and take advantage of Android 13.
Google Play released videos on improving user onboarding
for Google Play, embracing hybrid monetization,
as well as boosting user activation and commitment
for app growth, thinking about accessibility
and what can make or break someone's user experience,
and the latest Google Play policy updates.
Next, "The Game Show" covered Google Play games for PC.
Now you can use it to bring your Android game
onto the PCs of Windows gamers.
And we shared tips and tricks for a great Health Connect
integration to help you read and write health and fitness data,
as well as onboard new users.
Finally, in episode 192 of "Android Developers Backstage,"
Romain and Chet geeked out about graphics, talking about paths,
Bézier curves, morphing, and more.
So that's it for this week and for 2022 with Android 13
for TV and the archival app bundle requirement,
Compose for Wear OS 1.1, the Android Privacy Sandbox
Beta, CameraViewfinder, architecture templates, shaders
and graphics, Google Play, Jetpack Compose, and more.
Come back here next year for another update from the Android
developer universe.
And remember to subscribe, share, and stay safe.
[MUSIC PLAYING]