8.1 C
London
Thursday, April 18, 2024

Now in Android #103. Android 15 Beta, Gemini in Android… | by Kateryna Semenova | Android Builders | Apr, 2024


The Android 15 beta is now out there for each builders and early adopters. Now you can enroll any supported Pixel system to get this and future Android 15 updates over-the-air.

Key options of the Android 15 beta embody default edge-to-edge app show, smoother NFC experiences, inter-character textual content justification, app archiving, app-managed profiling, higher help for Braille shows, key administration for end-to-end encryption, and secured background exercise launches. Apps can be edge-to-edge by default on Android 15+ units after they aim SDK 35. Due to this fact, ensure that to observe finest practices on implementing edge-to-edge.

The Android 15 developer website has extra details about the beta. We’re trying ahead to listening to what you assume, and thanks prematurely to your continued assist in making Android a platform that works for everybody.

Checkout this Android Developer Story on how Google Drive reduce code and growth time in half with Jetpack Compose and new structure.

Google Drive’s builders revamped the app’s house display screen utilizing Jetpack Compose, Android’s fashionable toolkit for creating native UI. The workforce confronted challenges with the app’s earlier structure, which might have delayed updates. By embracing Kotlin and Jetpack Compose, they streamlined growth, decreasing code complexity and bettering effectivity. The adoption of Android’s advisable structure additional enhanced the method, facilitating faster testing and growth. Because of this, the Drive workforce was capable of develop the app’s new house display screen in lower than half the time that they anticipated. The workforce plans to leverage Compose for future enhancements, aiming for higher UI growth and upkeep.

Observe the Google Drive workforce’s instance and enhance your app’s structure through the use of Android’s official structure steerage and optimizing your UI growth with Jetpack Compose.

We’re comfortable to announce the mixing of the Gemini 1.0 Professional mannequin into Android Studio. 🎉

Gemini, now changing Studio Bot, features as an AI-powered coding assistant inside the IDE. Gemini gives options like code era, code completion, answering growth queries, discovering sources, and extra. You may work together with Gemini utilizing pure language queries and obtain context-aware responses. Moreover, Android Studio supplies instruments so that you can make the most of Gemini’s capabilities in your individual functions via the Gemini API starter template.

Gemini is obtainable at the moment in Android Studio Jellyfish developer preview in over 180 nations and territories. Attempt Gemini in Android Studio at the moment and and you’ll want to present suggestions to assist present additional enhancements!

To study extra about dependency injection in Compose try Jonathan Koren’s weblog publish, the place he discusses the importance of dependency injection in Android growth with Jetpack Compose.

He focuses on the mixing of Hilt, an Android library constructed on Dagger, and highlights the advantages of dependency injection akin to separation of issues, testability, and ease of upkeep.

The article elaborates on dependency provision and scoping — two essential options of Hilt — and the way these functionalities differ between conventional Android apps and apps constructed with Compose. It then supplies some suggestions for the way and the place to inject dependencies in Compose apps, making an allowance for the variations in lifecycle administration and the way in which composable features behave.

We hope these methods and concepts will aid you get probably the most out of each Compose and Hilt in your apps!

That’s it for this week with the first beta of Android 15, the Google Drive developer story, Android Studio updates and dependency injection in Compose.

Be sure you tune into Google I/O the place you possibly can dive deeper into matters that curiosity you with over 100 periods, workshops, codelabs, and demos.

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

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here