Welcome to a brand new episode of Now in Android, your ongoing information to what’s new and notable on this planet of Android growth.
Developer Preview 1 is now out there, with the newest options and adjustments to strive along with your apps! Set up a system picture and replace the instruments to get began. Throughout this section we’re in search of your suggestions, so please tell us what you suppose! Go to the suggestions web page to report a problem or submit a function request. Right here is the tough timeline for the discharge milestones:
Discover the new options and APIs out there in Android 14 and find out about its habits adjustments which may have an effect on your app when it’s working on Android 14. Some notable adjustments in core performance embody the SCHEDULE_EXACT_ALARM
permission, which is now not being pre-granted to most newly put in apps focusing on Android 13 and better. Context-registered broadcasts could also be positioned in a queue whereas the app is within the cached state. And to enhance safety and privateness for customers, beginning with Android 14, apps with a targetSdkVersion
decrease than 23
can’t be put in.
There are additionally some habits adjustments that apply solely to apps which are focusing on Android 14 or larger. For instance, exporting habits for runtime-registered broadcasts, or new restrictions to implicit and pending intents. Android 14 additionally introduces foreground service varieties for well being and distant messaging use circumstances and requires you to specify no less than one foreground service sort for every foreground service in your app.
Do take a look at the checklist of documented options and habits adjustments which may have an effect on your app.
We launched a brand new MAD Abilities collection specializing in the Jetpack Compose format and modifier. The collection has three new episodes masking fundamentals of compose format and modifiers, psychological mannequin of how Compose APIs rework knowledge into UI and Constraints and modifiers order.
Within the first episode, Simona Stojanovic explains concerning the fundamentals of layouts and modifiers. It helps you perceive how format and modifiers work collectively, what out-of-the-box APIs Compose presents, and the way to fantastically fashion your UI.
You can too watch this submit as a MAD Abilities video:
Within the second episode, Jolanda Verhoef lets you create a psychological mannequin of how the out-of-the-box Compose APIs truly rework knowledge into UI. With this psychological mannequin you should have a greater understanding of how the totally different phases — Composition, Structure, Drawing — in Compose work.
You can too watch this submit as a MAD Abilities video:
Within the third episode, Jolanda helps you perceive how the order of modifiers within the modifier chain influences the sizes of the composables and be taught extra about modifier chaining.
For those who’ve obtained any questions from this collection on Compose Layouts and Modifiers, we can have a stay Q&A session on March ninth. Depart a touch upon the weblog posts, on YouTube, or utilizing #MADCompose on Twitter to ask your questions.
Because the earlier episode, there have been some AndroidX releases price highlighting.
Graduated to secure, Browser 1.5.0 added new options corresponding to the power to specify preliminary launch top of a Customized Tab, toolbar’s prime nook radius, set the place of the shut button on the toolbar and notify when a Customized Tab is resized.
WorkManager 2.8.0 introduces a brand new option to replace periodic work that permits ongoing work to proceed. It additionally launched a number of API adjustments corresponding to, skill to intercept scheduling exceptions, improved RxWorker help, and so forth. For particulars, take a look at the documentation.
The Compose Materials 3 1.1.0-alpha06 added new options and API adjustments, together with help for prefix and suffix textual content in Textual content fields, TimePicker
operate for Materials 3 compliant time pickers, Modal backside sheet implementation for Material3 and extra.
With Lifecycle 2.6.0-beta01 the LifecycleOwner
and ViewModelStoreOwner
are actually written in Kotlin. This additionally introduces supply incompatible adjustments for courses written in Kotlin.
Final however not least, the Compose Compiler v1.4.1 and v1.4.2 releases deal with fixing recomposition bugs.
Within the Migrating Sunflower to Jetpack Compose weblog submit, Chris Arriola shares their expertise migrating Sunflower to Jetpack Compose. The weblog submit highlights the migrating technique in follow and gives steps you’ll be able to take to plan a plan emigrate your app. You may get insights on how the plan could be applied by migrating the Sunflower app. Chris additionally shares their expertise and the obstacles they confronted in the course of the migration journey.
Within the Lots of of hundreds of builders are studying Jetpack Compose weblog submit, the Android workforce shares how Compose Camp, an Android meetup collection, has helped builders throughout totally different expertise ranges to find out about constructing Android apps with Jetpack Compose. The submit additionally highlights some “campers” experiences and studying ideas. It was nice to see lots of of hundreds of you all over the world take part in Compose Camp!
Summers Pittman wrote about the way to use the Android Sharesheet software for sharing deep linked content material. The article exhibits why it’s best to use the Sharesheet and demonstrates the way to use it with linked content material.
Mozart Louis wrote about the way to cope with “coloration washout”. The article talks about the way to accurately transcode 10-bit HDR video to 8-bit SDR video and guarantee help for units that may’t show HDR content material.
Diego Zavala wrote about how Android’s new Credential Supervisor can carry sign-in options and passkeys collectively. Credential Supervisor is a brand new Jetpack API that permits app builders to simplify their customers’ authentication journey, whereas additionally rising safety with help of passkeys.
Simon Choose recorded the Everlasting, momentary, and situational disabilities in Google Play video that visualizes totally different elements to think about when creating apps for everybody, no matter everlasting, momentary, or situational disabilities.
Robert Simpson recorded the Customized retailer listings in Google Play video to point out all of the methods you should use customized retailer listings to spice up conversions and attain extra customers to your app.
That’s it for this week with a Android 14 Developer preview, Fundamentals of Compose layouts and modifiers, Compose phases, Constraints and modifier order, AndroidX releases, articles concerning the, Migrating to Jetpack Compose, Share Android App Hyperlinks with the Sharesheet, Coping with coloration washout, New Credential Supervisor, movies about Customized retailer itemizing in Google Play, Accessibility on Google Play and extra!
Come again to the subsequent episode of Now in Android for an additional replace from the Android developer universe.