[ad_1]
Welcome to Now in Android, your ongoing information to what’s new and notable on this planet of Android improvement.
Final week was Google I/O, which signifies that we’ve got a ton of stuff to cowl; this submit can function your information to navigate all that content material.
First off, we had the Google Keynote, which had a ton of bulletins about the place Android and Pixel are heading. Then, the Developer Keynote lined high Android dev bulletins such because the Compose for Put on OS Beta, the Compose 1.2 beta, the Well being Join API, and huge display updates together with 12L and 13 options together with the large-screen-optimized Google Play Retailer.
We’ve two fast movies — a fast run by of what’s new, and #TheAndroidShow: What’s new for Android devs at I/O, in 60 seconds to maneuver you rapidly by a number of the high materials. For a extra full survey of what I/O 22 affords to Android builders in video kind take a look at the What’s New in Android discuss.
Lastly, the Android Hearth Chat is again; Android leaders answered your questions from the stage.
After being out there on this weblog, our YouTube collection, and a podcast, beginning right now, you may take a look at the alpha model of the Now in Android app on GitHub that was featured within the Google I/O 2022 Developer Keynote 🎉
The app showcases finest practices, opinionated designs, and options to complicated real-world issues. It does so with an open supply implementation of an actual world app — a working app deliberate for publication on the Play Retailer that can provide help to preserve updated together with your Android improvement areas of curiosity. It’s nonetheless beneath heavy improvement and isn’t but characteristic full, so keep tuned right here for updates.
What’s new in Jetpack lined additions and updates to the over 120 libraries we’ve created to handle widespread ache factors and make improvement simpler. Highlights embrace updates to Room, Navigation, the brand new JankStats library, and the 1.2 beta of Jetpack Compose. Compose 1.2 contains improved nested scrolling Interop, help for downloadable fonts, improved help for Lazy layouts, and extra.
Different talks on this space embrace Lazy layouts in Compose, Fragments: The great (non-deprecated) components, and Efficiency finest practices for Jetpack Compose.
We even have two workshops: Fundamental layouts in Compose and Utilizing state in Jetpack Compose. There’s additionally an related Android Developer Story about how Airbnb makes use of Jetpack Compose.
The ever-popular What’s new in Android improvement instruments discuss went by the Android Studio and Instruments roadmap, demonstrated some new options, and lined key product updates. The Android Studio Dolphin Beta contains Logcat v2, WearOS and Compose enhancements, and Gradle managed digital gadgets, whereas the Electrical Eel Canary provides SDK Insights, Stay Edit, Visible Lint, and Multi-Preview for Jetpack Compose, Gadget Mirroring, Resizeable Emulator, and App High quality Insights.
Android went massive at I/O, with 4 talks and a workshop to take you from design to implementation for giant screens. Designing apps for giant screens talks about the way to broaden and reorganize your UI purposefully, overlaying our three canonical format beginning factors for giant screens.
Discover ways to replace your app for the bigger display goes over the tech we’re offering to creating constructing for giant screens simpler, equivalent to window dimension courses, sliding pane format, navigation rail, the Jetpack DropHelper utility class for drag and drop, and the resizeable and desktop emulators.
Implementing Android apps for all display sizes explores improvement finest practices with an emphasis on Jetpack Compose, navigation, managing state, and testing.
Enter for all screens contains finest practices to help enter strategies like keyboard, mouse, and stylus.
Lastly, within the Constructing an adaptive format with SlidingPaneLayout workshop, you’ll learn to add a listing and element format to a hybrid Compose and View app with SlidingPaneLayout. There’s additionally an related Android Developer Story about eBay’s pill optimization.
We launched the second beta for Android 13, and introduced that the Android 13 Beta is accessible to check on a spread of gadgets from Asus, Lenovo, Nokia, OnePlus, Oppo, Realme, Sharp, TECNO, Vivo, Xiaomi, and ZTE.
Creating privateness user-centric apps covers new Android 13 options such because the notification runtime permission, the permission-free picture picker, and APIs to revoke permissions.
In Constructing the Privateness Sandbox, a panel of Privateness Sandbox crew members offers an summary of the industry-wide effort to make Android and the online personal, answering fashionable questions. Overview of the Privateness Sandbox on Android focuses particularly on key Android modifications and technical concerns for builders, overlaying each the SDK Runtime and privacy-preserving APIs for concentrating on person pursuits, sustaining custom-defined audiences, and attribution reporting.
Fundamentals for System Again covers the brand new opt-in API in Android 13 that allows you to inform the system that you just’re dealing with again forward of time to make the again expertise extra predictable and fluid; this habits is deliberate to be the default when concentrating on Android 14.
Greatest practices for working background work on Android explains how background work is altering in Android 13 to enhance consistency throughout gadgets within the ecosystem, together with new JobScheduler options, modifications to app restrictions, Firebase Cloud Messaging, and extra.
What’s new in Android machine studying covers updates to the 2 most important methods of utilizing on-device ML in your apps. ML Equipment, our prepared to make use of cellular ML stack, and Android’s {custom} ML stack. ML Equipment allows acceleration throughout key API surfaces and expands API capabilities, whereas the {custom} ML stack contains beta help for TensorFlow lite in Google Play Providers, the brand new Acceleration Service for Android, and the rollout of updatable Neural Networks API and TensorFlow Lite delegates. The brand new Google Code Scanner API in Google Play Providers permits your app to request barcode scans without having digital camera permissions.
What’s new in Android Digicam offers a … snapshot … of what we’re doing in CameraX, equivalent to help for video seize and WYSIWYG digital camera controls, in addition to what’s occurring in Android 13, with help for HDR video seize, whereas What’s new in Android media covers how we’re dealing with HDR media, Spatial Audio help, Efficiency Class 13, and the work we’re doing in ExoPlayer, Jetpack Media3, and the brand new Jetpack Core Efficiency library. You’ll be able to stream the How you can optimize media streaming with ExoPlayer workshop to go hands-on with including media streaming to your app utilizing the Media3 ExoPlayer library — together with organising playback, supporting adaptive streaming and responding to playback occasions.
What’s new in Android accessibility covers the updates we’re making to Android round accessibility, together with Android 13’s built-in help for braille shows, auto-summarizing the content material of images (Lookout), listening in noisy environments (Sound Amplifier), and extra. The What’s new in Accessibility for builders discuss particulars the way you enhance the usability of your app for everybody, overlaying each Jetpack Compose’s and Android Studio’s accessibility options.
What’s new in app efficiency covers utilizing Android Studio, Perfetto, Android Vitals, and Macrobenchmark to assist perceive efficiency. It demonstrates utilizing baseline profiles to assist information Android’s ahead-of-time compilation to enhance app startup pace and scale back janky frames. It additionally covers the unbundled ART Runtime on Android 12+, which incorporates updates to the OpenJDK APIs, in addition to efficiency updates together with the brand new rubbish collector, quicker JNI calls, reference processing, and interpretation.
Lastly, Introducing Google Pockets and developer API options particulars what we’re doing to construct a premier, safe digital pockets for Android and Chrome customers, in addition to how you need to use the Google Pockets API to digitize tickets, loyalty playing cards, and way more, evolving the earlier Google Pay Passes API.
Android helps you to construct for TVs, watches, automobiles, and sensible audio system, with the telephone on the middle of the related world. We need to create an expertise that works higher collectively, and we’d like your assist. That begins with utilizing Android options for seamless sign-in throughout gadgets, with APIs like One Faucet, Passkeys, and Block Retailer; this permits customers to simply work throughout a number of forms of gadgets and makes it straightforward for them to switch a tool.
The Construct highly effective, multi-device experiences discuss covers a brand new library that leverages Ultrawideband, BLE, and Wi-Fi to allow multi-device experiences; it helps system discovery/wake-up, safe communications, and multi-device switch to construct seamless handoff experiences.
The Create lovely, power-efficient apps for Put on OS takes you thru the Put on OS compose beta in addition to how the Well being Providers APIs provide help to to construct power-efficient well being and health apps throughout totally different underlying {hardware}.
Talking of well being, the Introducing new APIs for well being and health in Well being Join by Android discuss covers how the Well being Join alpha brings collectively Google Match, Fitbit, and Samsung Well being into one consolidated API.
The What’s new with Android TV and Google TV discuss recaps the Android 12 enhancements and takes you thru new Android 13 options equivalent to expanded picture-in-picture help, AudioManager modifications, and extra.
What’s new with Android for automobiles covers our progress and updates with Android Auto, Android Automotive OS, and the upcoming 1.3 launch of the Automotive App Library; the 1.3 launch provides map interactivity throughout all map templates, navigating to a number of locations, dynamically updating focal point listing locations, and alerts for issues like site visitors cameras/new rider requests.
What’s new in Google Play covers key Play updates round Privateness and Safety together with the Google Play SDK Index, Play App Signing shifting to make use of Google Cloud Key Administration, Annual Key Rotation, the Play Integrity API, the Knowledge Security Part, and the Privateness Sandbox. It goes by app high quality initiatives such because the Google Play Developer Reporting API, Android Vitals Crashlytics integration, Income and Income Development Metrics in Attain and Gadgets as effectively an overhauled system catalog, and take a look at tracks for various kind elements. Lastly, it particulars the work we’re doing to optimize acquisition, engagement, and monetization, equivalent to updates to {custom} retailer listings, retailer itemizing experiments, updates to LiveOps (beta), and new commerce updates equivalent to new fee strategies, expanded ultra-low value factors, extra versatile subscriptions, and in-app subscriber messaging. The App high quality on Google Play and Success on Google Play with new acquisition, engagement, and monetization instruments periods cowl these areas in additional element.
We additionally had two talks that cowl How you can combine Android widgets with Google Assistant, in addition to what one must do to Combine Google Assistant into Android for automobiles.
Let’s check out a couple of highlights from our AndroidX releases for the reason that final episode of Now in Android.
As talked about earlier than, Jetpack Compose 1.2 beta 1 is out together with Put on Compose 1.0 beta 1. That will help you with massive screens we launched Drag And Drop Model 1.0.
Tracing Model 1.1.0 was launched, including Hint.forceEnableAppTracing() to force-enable app hint part seize on non-debuggable builds previous to the introduction of the profileable manifest tag in API 29.
Well being-Join-Consumer Model 1.0 alpha01 is out, the brand new API for studying/writing health and well being data shared by different apps.
There was one episode of Android Builders Backstage posted for the reason that final Now in Android. Test it out on the hyperlink under, or in your favourite podcast consumer:
In this episode Tor, Chet, and Romain chat with Jon and Andrew from the Play crew in regards to the Play Retailer app, which lately went by a serious refactoring. Jon and Andrew information you thru the explanation why they did it, the influence on their structure, what issues they bumped into, and why they determined to undertake Jetpack Compose for the UI layer.
That’s it for this time with Google I/O 2022, the Now in Android App open supply alpha, Android Jetpack, Jetpack Compose, Android Studio, Android 13, Google Play, Giant Screens, TV, Automobiles, Put on OS, and extra! Come again right here quickly for the subsequent replace from the Android developer universe.
[ad_2]