Welcome to Now in Android, your ongoing information to what’s new and notable on the earth of Android growth.
We launched Android 13 for TV, bringing new APIs to the large display, together with enhancements to the AudioManager
API, the power for customers to alter the default decision and refresh price on supported HDMI supply gadgets, surfacing of HDMI state adjustments within the MediaSession
lifecycle, help for various keyboard layouts within the InputDevice
API, an audio descriptions API in AccessibilityManager
to question person preferences, and the entire different enhancements Android 13 brings.
Beginning in Might 2023, Google TV and Android TV will likely be requiring archivable Android App Bundles to assist customers save their sometimes restricted TV gadget storage. Archiving reclaims round 60% of app storage, permitting customers to maintain extra apps on their TV utilizing the built-in fast archive/unarchive person interface. Apps that haven’t transitioned in time could also be hidden from TV gadgets.
We launched Compose for Put on OS 1.1, our trendy declarative UI toolkit that will help you construct lovely, responsive apps for Put on OS. The discharge contains new performance corresponding to an Outlined type for Chips and Buttons, the power to change shapes for Chip/ToggleChip and Button/ToggleButton parts utilizing new operate overloads, an experimental placeholder API, the scrollAway modifier, extra parameters in CurvedTextStyle, person expertise refinements, TalkBack help enhancements, and higher total accessibility.
We shared particulars so you possibly can put together for the incremental rollout early subsequent yr of the preliminary Privateness Sandbox Beta, a mission with the purpose of bringing Android new, extra non-public promoting options. The publish has extra on the best way to enroll to entry the Privateness Preserving APIs, the best way to take part within the Beta program, and the best way to register your curiosity within the closed SDK Runtime beta.
We launched CameraViewfinder, a brand new Jetpack Library artifact designed to work together with your present Camera2 codebase that means that you can rapidly implement digicam previews with minimal effort. It makes use of both a TextureView or SurfaceView to show the digicam feed, correcting the side ratio, scale, and rotation to precisely show the viewfinder. The publish covers the best way to use CameraViewfinder, together with the best way to mix it with the Jetpack WindowManager library to offer distinctive experiences on foldable gadgets.
We launched the Android Structure Starter Templates, a brand new mission on GitHub that will get you began rapidly with a mission that follows our lately launched Structure suggestions — whether or not you’re constructing a brand new app or only a fast experiment. We’re delivering them individually from Android Studio so they’ll all the time mirror the most recent dependencies to get you began as rapidly as potential.
We had 4 graphics-focused articles masking RenderEffect, RenderNode, and AGSL, the Android Graphics Shading Language.
Chet started with masking the best way to use the BlurEffect launched with Android 12, adopted by an introduction to Android 13’s AGSL and the best way to write pixel shaders that work inside Android’s Canvas drawing system. The subsequent article centered on the best way to leverage the facility of RenderNode. Rebecca then coated the best way to animate ImageVectors and apply AGSL results in Compose.
Talking of Compose, Alejandra coated utilizing Variable fonts in Compose 1.3, whereas Ataul talked in regards to the journey he and Sara had in Making a Sport with Compose Canvas on Put on OS. Ben then coated when and the place to make use of the derivedStateOf API, and Sagar defined the best way to make largely View primarily based apps which are integrating Jetpack Compose quicker utilizing the App Startup library and customized baseline profiles.
Neelansh did a two half sequence masking Per-App Language Preferences, the place Half 1 explains the best way to combine the API into your app utilizing the AndroidX AppCompat library, whereas Half 2 covers widespread apps which are utilizing the API and the way it advantages them.
Patrick then wrote ideas to assist scale made-for-mobile apps to ChromeOS, lots of which apply to adapting your app for any large-screen Android gadget.
Within the newest Notes from Google Play, Purnima coated Play options corresponding to Customized Retailer Listings and Promotional content material playing cards to assist develop your corporation, new instruments, steering, and programs to assist your app enter new markets, methods during which Play is supporting bringing your app to extra gadgets, and new options and packages that will help you navigate belief and security on Google Play together with the expanded Developer Helpline program and Strike Removing program.
Aditya sat down for a “digital espresso” with Haemin Yim, founder and CEO of Korea’s Creatrip, to debate beginning on the net, establishing the corporate for world attain, and ideas for startups trying to develop. We additionally had two episodes of #WeArePlay, with the primary masking the developer journeys of 4 sport creators from all over the world and the second introducing the builders behind Stamurai Speech Remedy, and their app that helps folks with speech issues.
My video on the best way to Migrate your apps to Android 13 dropped on YouTube, masking nearly all the things that you simply’ll have to know to make your app appropriate with, goal, and reap the benefits of Android 13.
Google Play launched movies on Enhancing person onboarding for Google Play, Embracing hybrid monetization in addition to Boosting person activation and dedication for app progress, fascinated about accessibility and What could make or break somebody’s person expertise?, and the most recent Google Play coverage updates.
Subsequent, the Sport Present coated Google Play video games for PC and the way you need to use it to deliver your Android sport onto the PCs of Home windows avid gamers.
Lastly we shared Ideas and tips for a terrific Well being Join integration that will help you learn and write well being and health information in addition to onboard new customers.
It’s been comparatively quiet on the earth of AndroidX, however in Hilt 1.1 Alpha 1 the hiltViewModel() API takes an non-compulsory key parameter that means that you can get a number of situations of the identical ViewModel kind utilizing completely different keys, whereas Put on Compose 1.2 Alpha 1 had a bunch of bug fixes, API adjustments, and an replace to the experimental Placeholder performance.
In Episode 192 of Android Builders Backstage Romain and Chet geeked out about graphics, speaking about paths, Bézier curves, morphing, and extra.
That’s it for this week and for 2022 with Android 13 for TV and the Archivable App Bundle Requirement, Compose for Put on OS 1.1, the Android Privateness Sandbox Beta, Digicam Viewfinder, Structure Templates, Shaders and Graphics, Google Play, Jetpack Compose, and extra! Come again right here subsequent yr for an additional replace from the Android developer universe.