12.6 C
London
Friday, October 11, 2024

Now in Android #110. Welcome to episode 109 of Now in… | by Chris Assigbe | Android Builders | Oct, 2024


At our ninth Made By Google occasion on August thirteenth, we introduced new AI experiences throughout Gemini and Android, together with our largest lineup of Pixel gadgets ever — together with the Pixel 9 household, our first telephones with Gemini baked in as our next-generation assistant. Plus, with Gemini Reside, now you can have free-flowing voice conversations with Gemini in your telephone.

“We consider that AI could make day-to-day life extra productive, open up new methods to be taught, and create methods for folks to specific themselves,” says Platforms & Units SVP Rick Osterloh. “We’re excited to carry the perfect of Google AI to extra folks and extra telephones with updates throughout Gemini, Android, and Pixel.”

On the {hardware} entrance, we launched the Pixel 9, Pixel 9 Professional, Pixel 9 Professional XL, and the Pixel 9 Professional Fold. We additionally unveiled the Pixel Watch 3 — obtainable in two sizes — and the snug-fitting and AI-powered Pixel Buds Professional 2.

Android Studio Koala Function Drop 🐨

The most recent Android Studio Koala Function Drop has cutting-edge options like new gadgets in Android Gadget streaming (together with the Pixel 9 sequence & new Samsung gadgets), Compose previews for Look widgets, USB cable pace detection, assist for Android 15 within the Android SDK Improve Assistant, UI debugging enhancements and profiler instruments to enhance app start-up time.

#WeArePlay

Within the newest #WeArePlay episode, Google Play showcases and celebrates Robson from Rio de Janeiro, Brazil. He co-founded Estante Mágica, which is an app that encourage children to develop into revealed authors

Robson, who grew up himself in a favela, needs to make an enduring impression on the training system by giving children the chance to nurture literacy and write books.

Google Maps adopts Consumer Initiated Information Switch 🗺️

In Android 14, we launched Consumer Provoke Information Switch that addresses gaps present in foreground companies and WorkManager for lengthy length person initiated information transfers. The brand new setUserInitiated API in JobScheduler goals to be a substitute for retries and constraints.

Actually, Google Maps tailored it, and noticed a 10%+ enchancment in obtain failure charge for offline downloads.

“We efficiently launched UIDT on Android 14 in early 2024 migrating from our foreground service implementation. After a retroactive evaluation on Android 14 vs Android 13 implementation, we now see a ten%+ enchancment in obtain failure charge of offline downloads!” — Matthew Valgenti, Software program Engineer at Google

We’re introducing a brand new sequence known as Highlight Week designed to assist builders be taught a selected subject throughout per week. The week will embrace technical deep dive movies, new documentation, and developer tales.

On the primary episode of the sequence, Ash covers Android 15’s edge-to-edge, foreground companies, and passkeys.

Highlight Week additionally introduced you a complete host of Android AI information, technical deep dives and so forth. You bought to study generative AI, Gemini Nano, the best way to carry your individual mannequin to Android, Cloud fashions, amongst many others.

Edge-to-edge inset ideas 📏

Ash wrote an in-depth Medium weblog publish protecting inset dealing with ideas to ensure that builders to organize for Android 15’s edge-to-edge enforcement.’

It discusses what insets are and why they’re vital to person expertise. It additionally particulars ideas for dealing with insets, for each Compose and Views. A number of the ideas it mentions are to make use of materials parts, draw backgrounds edge-to-edge, and inset important UI. It emphasizes that insets ought to be dealt with to make sure important UI parts stay accessible.

Edge-to-edgeTesting 📏

Given Android 15’s enforcement of edge-to-edge, testing is now extra vital than ever for builders. Meghan covers the subject with a weblog publish that gives info on automated testing methods. A number of the vital factors are that edge-to-edge UI will likely be enforced beginning in Android 15 and that Compose Previews will help obtain a seamless edge-to-edge structure. Compose Preview has various new options for testing edge-to-edge, together with enhancements to showSystemUI, the flexibility to check particular gadgets, and assist for various kinds of cutouts.

Talkback adopts Gemini Nano 🦜

In one other Highlight Week episode, Terence showcased Talkback, Android’s display reader within the Accessibility suite.

The talkback staff not too long ago up to date their characteristic that describe photos when builders don’t embrace descriptive alt textual content to make use of Gemini Nano with multimodality vs s earlier small ML mannequin known as Garcon.

Gemini Nano has given Talkback capabilities past primary picture descriptions. For instance, when Garcon is offered with a panorama of the Sydney, Australia shoreline at evening, it would learn: “Full moon over the ocean.” Gemini Nano with multimodality can paint a richer image, with an outline like: “A panoramic view of Sydney Opera Home and the Sydney Harbour Bridge from the north shore of Sydney, New South Wales, Australia.”

Sort secure navigation for Compose 🧭

Jetpack Navigation 2.8.0 is the newest steady model to be launched in September. Don wrote a complete article protecting sort secure navigation launched on this model and the best way to use it. The article covers how navigation now permits you to outline your locations utilizing serializable sorts and profit from compile-time security. It’s easier and safer to outline your navigation locations and arguments. The article additionally offers some recommendations on testing navigation use instances.

Compose TV steady launch 📺

Compose TV can also be now steady with its 1.0.0 launch in August. The modifications going from alpha to steady launch embrace the renaming of some APIs similar to from TvLazyColumn to LazyColumn, some API modifications, and the elimination of different APIs that have been redundant or had higher alternate options.

Paul wrote a information to assist builders migrate from alpha to steady easily.

One Credential Supervisor to rule all of them 💍

Out with the outdated: Android used to depend on issues like “Sensible Lock” and “Google Signal-In” to assist customers signal into apps. These are actually being changed.

In with the brand new: Credential Supervisor is the brand new, unified option to deal with sign-ins on Android. It helps the newest expertise like passkeys (a safer different to passwords), together with the acquainted “Register with Google” and conventional passwords.

Why the change? Credential Supervisor goals to make signing into apps simpler and safer for customers. It additionally simplifies issues for builders, giving them one system to work with.

Diego Zavala and Jason Lucibello wrote the announcement on Android Developer Weblog that additionally offers assets for builders for migration.

The article additionally highlights how corporations like X (previously Twitter) and Pinterest have already made the change to Credential Supervisor with constructive outcomes.

Adaptive layouts constructing made straightforward 📂

Again at I/O 2024 in Might, we introduced the beta launch of Compose Adaptive APIs to assist builders construct adaptive layouts extra simply and effectively. Its steady model has now been launched with Materials steering for manufacturing use.

Alex wrote a weblog to cowl the announcement, and to debate the assorted APIs and their use instances. Briefly, now you can create layouts that adapt seamlessly to totally different display sizes and system postures with out customized breakpoint handlers.

Desktop windowing goodness 🖥️

Francesco and Fahd introduced the preview for desktop windowing on Android pill. The characteristic will enable apps to run in resizable home windows identical to you’ll do on desktops.

Name to motion for builders: The article urges builders to optimize their apps for this new windowing surroundings.

The episode 209 of Android Builders Backstage options Doris Liu from the Jetpack Compose staff discussing Compose’s animation APIs. They delve into the layered construction of those APIs, highlighting the advantages over conventional View system animation approaches.

Take heed to it in podcast or youtube format.

The summer time version of #TheAndroidShow recaps all of the {hardware} and software program bulletins made on the newest Made By Google occasion

Rebecca and Simona share with you ideas the best way to make pleasant UI protecting subjects like the best way to arrange edge-to-edge and inset, working with nested scrolling to create Dynamic UI, pager tips to tie into the gestures to portray with totally different gradient brushes and complicated graphic shaders, and way more.

Overview of the brand new options and enhancements within the newest launch of Android Studio, model 20241 by Sandhya.

Rebecca explores the usage of shaders for enhanced graphics rendering in Android apps utilizing Jetpack Compose.

#WeArePlay tells the story of Estante Mágica, a cellular app that helps youngsters develop into authors of their very own books. Robson, the creator of the app, shares his private journey and the inspiration behind the undertaking.

Ash introduces “Highlight Weeks,” a brand new sequence centered on serving to builders deep-dive into particular Android subjects. The primary Highlight Week focuses on Android 15.

Daniel and Ash recap and develop on their Google I/O 2024 talks with a concentrate on new Android 15 options and developer issues for constructing future-proof apps.

A panel of Google Engineers solutions questions collected from social media utilizing the #AskAndroid tag and reside chat throughout the session centered on Android 15.

Aditya and Laura, lead Android developer and UX designer respectively at SAP share the story of how the corporate optimized their “SAP Cellular Begin” app for giant screens and foldables utilizing Jetpack Compose Adaptive layouts in 5 minutes.

Clara introduces new type-safe APIs for Jetpack Compose Navigation, beginning with model 2.8.0. Clara explains how these APIs enhance compile-time security and scale back code complexity when defining navigation locations and arguments in your Kotlin DSL

Rebecca offers a complete information to utilizing circulate layouts in Jetpack Compose for constructing versatile and responsive UIs.

We had quite a few updates to AndroidX libraries that embrace the next:

Put on Compose 1.4.0 provides default rotary enter assist for ScalingLazyColumn and Picker, introduces a brand new Modifier.rotaryScrollable for connecting rotary occasions, and consists of entry animation for SwipeDismissableNavHost and default PositionIndicator show.

Well being Join 1.0.0-alpha01 launch permits learn and write entry to person well being and health information, with testing assist by means of the jetpack library.

Compose UI 1.7.0 introduces vital enhancements like shared component transitions for smoother animations, Lazy checklist animations for enhanced visible attraction, and textual content formatting enhancements, together with the Compose compiler being hosted within the Kotlin repository. Extra particulars on this weblog written by Ben Trengrove.

Compose Runtime 1.7.0 enhances composition locals with computed defaults, optimizes state object accessibility and composable operate era, and improves lambda invalidation and callback ordering.

Compose Materials 3 Adaptive 1.0.0 offers instruments and parts to construct adaptive Android UIs for various display sizes and gadgets.

Compose Materials 1.7.0 stabilizes BottomDrawer, ModalBottomSheet, and BackdropScaffold parts, migrates to new ripple APIs, and improves efficiency by optimizing MutableInteractionSource utilization.

Compose Basis 1.7.0 considerably boosts efficiency in key modifiers, introduces a brand new Indication API for effectivity, refines clickable parts, and provides new options for textual content, structure, and animations.

Compose Animation 1.7.0 introduces new shared component transition APIs for smoother animations, improves present APIs with options like customized content material alignment and deferred goal animation, and stabilizes a number of APIs together with AnimatedVisibilityScope and LookaheadScope.

Assortment 1.4.3 enhances efficiency, significantly for ScatterMap and ScatterSet, and addresses an information corruption bug in these collections.

Digicam 1.5.0-alpha01 introduces new APIs for twin digital camera video seize configuration and audio management in recordings, together with bug fixes for crashes and black display points.

Media3 1.4.1 addresses numerous points, together with dealing with preload callbacks asynchronously, permitting playback even with loading failures, fixing errors in MP3 and TTML dealing with, resolving DRM points on API 31+ gadgets, and bettering media management and session administration.

That’s it for this week with Android 15 in AOSP, the Made By Google occasion, RCS assist in iOS, inspirational tales from #WeArePlay sequence, the newest #AndroidShow, Android Studio Koala, and plenty of steady and alpha AndroidX releases.

Examine again quickly on your subsequent replace from the Android developer universe! 💫

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here