Welcome to Now in Android, your ongoing information to what’s new and what’s new on the planet of Android growth.
Episode 71 Video and Podcast
now on Android additionally it is provided as a video and podcast.
The primary day of Android Dev Summit 2022 was wonderful! Now you can watch the keynote and dive into our first trace at trendy Android growth.
Among the many most vital bulletins, you will discover the most recent model of Compose: October 22 (beforehand referred to as Compose 1.3) secure! Compose for Put on OS reached its secure model 1.0 weeks in the past and is the really helpful strategy to create a consumer interface for Put on.
As you heard earlier this 12 months: Google is betting on tablets, foldables, and ChromeOS. Yow will discover up to date templates for Put on OS in Android Studio, in addition to a secure Android R emulator system picture for WearOS. We have made it simpler than ever to check your app on the large display in Android Studio Electrical Eel now in Beta, together with desktop and resizable emulators and visible fluff that will help you meet finest practices on screens of any dimension.
We have additionally made it simpler to make the most of platform options in Android 13, like per-app language preferences and the brand new Photograph Picker, which is a permission-free strategy to allow you to browse and choose images and movies you need. share explicitly. your app
Trendy Android Growth (MAD) is our set of libraries, instruments, and steering that make it quicker and simpler to construct wonderful Android apps. Here’s a abstract of the highest 3 bulletins from the convention.
Yow will discover all of the MAD talks on this playlist:
Do not forget to examine the What’s new within the Jetpack weblog put up which accommodates revealed updates to a few important areas of Jetpack: Structure Guides and Libraries, Software Efficiency, and Person Interface Guides and Libraries. Contains updates to WorkManager, Room, new structure information, reference profiles, recomposition monitoring and extra!
Additionally check out the Weblog Publish What’s New in Jetpack Compose containing developer tales on how the neighborhood is embracing Jetpack Compose and extra info on the October 22 Compose launch that ships with a invoice of supplies (BOM). New Compose options embody staggered grids, variable fonts, swipe to replace modifier, the brand new look-ahead format, and extra.
JetBrains’ Kotlin Multiplatform Cell is now in beta and we have been experimenting with this expertise to see the way it can allow cross-platform code sharing. As a part of these experiments, we are actually sharing a preview of the Kotlin cross-platform libraries in Jetpack. The libraries out there for cross-platform as a part of this experimental preview are Collections and DataStore.
With this preview, we’re in search of your suggestions on utilizing these Jetpack libraries in cross-platform initiatives focusing on Android and iOS apps. Please word that these growth builds are experimental and shouldn’t be utilized in manufacturing. Be taught extra concerning the APIs out there within the pattern app, the API reference documentation, and the weblog put up.
The MAD Expertise Compose Fundamentals collection has come to an finish with the same old stay Q&A episode and neighborhood tip hosted by adam bennett that shares how one can speed up your studying with Compose.
In case you missed any of the earlier episodes, try the recap weblog put up the place you may watch all of them and discover extra details about them.
Materials Design elements for Android 1.7.0 are actually secure, offering type, accessibility, dimension consistency updates to Materials You, and new minimal model necessities. you will discover a brand new
MaterialSwitch element, theming shapes and far more.
Moreover, Compose Materials 3 can be secure. This library lets you create Jetpack Compose consumer interfaces with Materials Design 3. It helps colour schemes, dynamic colour, materials elements, typography, shapes, window dimension lessons, window insert help, and extra.
Manda Edling and Paris Hsu wrote concerning the Now in Android app designs. The weblog put up describes how the crew utilized Materials 3 ideas to the app and explores the newly launched design Figma file.
Alejandra Stamato wrote about efficient state administration for TextField in Compose. See what you must do to keep away from sync points and surprising conduct, together with ensuring you outline your TextField state variables with the Compose API as
Serbian wrote concerning the Pixel 7, the primary 64-bit-only Android cellphone, and what which means, like eradicating OS help for 32-bit code, lowering reminiscence utilization, enhancing efficiency, and enhancing safety.
Ray shot an episode about HDR video on Android. There he can discover the necessities he wants and the brand new Android Camera2 APIs.
Talking of Digital camera, the Android crew wrote about higher gadget help for CameraX. On this put up, you will see 3 ways CameraX makes life simpler for builders relating to gadget compatibility. First, the CameraX take a look at lab, the place we take a look at greater than 150 bodily telephones daily. Second, Quirks, the mechanism CameraX makes use of to routinely deal with gadget inconsistencies. And third, we’ll focus on the methods CameraX makes it simple to develop apps for foldable gadgets.
Niharika Arora wrote the third a part of optimization for Android Go version. This time, it is concerning the instruments that helped Google optimize the efficiency of its Google apps. When analyzing the reminiscence footprint, they used Perfetto, the reminiscence profiler, and meminfo. To watch startup, additionally they used Perfetto, the appliance startup library, benchmark profiles, the CPU profiler, and the micro and macrobenchmark libraries.
The Android ML Platform crew wrote concerning the newest updates to the Android customized ML stack. TensorFlow Lite on Google Play providers is now the official Android ML inference engine, TensorFlow Lite delegates are actually distributed by means of Google Play providers and the acceleration service will provide help to select one of the best TensorFlow Lite delegate for optimum runtime efficiency.
The Android Recreation Dev Present has a brand new episode. On this episode, Nate Trost talks about new updates to Android gaming, together with Recreation Mode, Recreation State, Adaptive Efficiency, Vulkan, and extra.
Lidia wrote about 5 Play Console updates that will help you perceive your app’s supply efficiency. Supply statistics provide help to higher perceive and analyze your utility’s supply efficiency and what’s contributing to it, and take motion to optimize your customers’ expertise. The put up contains 5 latest Play Console updates that you need to use to be taught extra about your supply’s efficiency.
Lastly, the crew wrote about Bringing Entry Keys to Android and Chrome. Google is offering passkey help for each Android and Chrome. Entry keys are a considerably safer alternative for passwords and different phishing authentication components. They can’t be reused, aren’t filtered on server breaches, and defend customers from phishing assaults. This launch permits two key capabilities: customers can create and use entry keys on Android gadgets, and builders can construct entry key help on their websites for finish customers utilizing Chrome.
That is it for this week with the Android Dev Summit and its trendy Android growth monitor, Kotlin Multiplatform updates, Materials Design releases, the Compose Fundamentals MAD Expertise collection, Now in Android app articles and movies, TextField, Pixel 7, HDR on Android, CameraX, optimization for Android Go modifying, updates on customized machine studying, Android Recreation Dev Present, Play supply and entry keys.
Verify again right here quickly for the subsequent replace to the Android developer universe.
– Now in Android #71. Android Dev Summit, Modern Android… | by Manuel Vivo | Android Developers | Nov, 2022