Android Dev News
182 subscribers
2 photos
3.47K links
Blog: Android Developers Blog
Podcast: Android Developers Backstage
Medium: Android Developers
YouTube: Android Developers

Creator & Maintainer @typesafe
Download Telegram
How to improve battery efficiency of background work on Android

https://www.youtube.com/watch?v=jS46zP8kQ3k

In this technical session, we'll share our insights into how background work and battery consumption are connected, and offer guidance on how to improve battery efficiency of background work on recent versions of Android. We'll go over battery-efficient best practices using WorkManager and Foreground Services (FGS) on both mobile and wear devices. You'll also learn how to further improve battery efficiency by debugging network usage and power using Perfetto.

Background work guide → https://goo.gle/background-work-guide
Foreground service types→ https://goo.gle/fgs-types-guide
Manage Awake State guide → https://goo.gle/wakelock-guide
Performance Debugging videos → https://goo.gle/performance-debugging-videos
Foreground services guide → https://goo.gle/foreground-service-guide

Speakers: Alice Yuan, Philip Cuadra

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Event: Google I/O 2024
Android for Cars: New in-car experiences

https://www.youtube.com/watch?v=gzG19w9blnM

This session will highlight Google's commitment to automotive, and how we’re enabling developers to bring new app experiences to the car - including multi-display and casting. Discover the latest tools and resources to help developers bring their apps to Android Auto and cars with Google built-in.

Speakers: Vivek Radhakrishnan, Seung Nam

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Event: Google I/O 2024
A more private ecosystem on Chrome and Android

https://www.youtube.com/watch?v=6u7h7-RP_p8

Get the latest on the Privacy Sandbox on Chrome and Android. This talk will provide an overview of product roadmaps, highlight new features, and explore the overall state of privacy-preserving APIs.

Privacy Sandbox → https://goo.gle/privacy-sandbox-devs

Speakers: Kevin Lee, Rob Clifford, Erin Walsh

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Event: Google I/O 2024
Building adaptive Android apps

https://www.youtube.com/watch?v=wBc6oMVAP60

Android is extremely flexible, running across an ever-growing range of devices and form factors. Despite this, it's still common to approach UI from a portrait-only, compact window mindset. Even if your main focus is on phones, changing how you approach UI can drastically improve users' experiences across foldables, tablets, and more, while preventing tech debt that a portrait-only mindset can create. In this talk, learn how to build adaptive Android apps and future-proof your app.

Get started with large screens → https://goo.gle/4d8aCqf
Large screens app quality → https://goo.gle/3xJWDXy
Support different screen sizes → https://goo.gle/446n85v
Build adaptive layouts in Compose → https://goo.gle/446nkBL
Build a list-detail layout → https://goo.gle/4a06I09

Speakers: Fahd Imtiaz, Alex Vanyo

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Products Mentioned: Android
Event: Google I/O 2024
Building UI with the Material 3 adaptive library

https://www.youtube.com/watch?v=xPUZENis4gc

Use the Material 3 adaptive library, now in beta, to create adaptive UI. Automatically adjust the number of panes you're showing by making use of new composables for list-detail and supporting pane canonical layouts, easily swap between navigation UI components based on window size classes, and use the building block composables to create your own custom experiences.

Learn more about adaptive UI with Jetpack Compose → https://goo.gle/3UeoMOe

Speakers: Ian Clifton, Conrad Chen

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt
Check out all the Design sessions from Google I/O → https://goo.gle/io24-design-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Products Mentioned: Android
Event: Google I/O 2024
How to build engaging Android Media & Camera experiences

https://www.youtube.com/watch?v=98QtLRrwyt8

Discover the latest developer solutions in the Android media and camera suite to help you maximize users’ entertainment experiences. Explore the latest feature launches for social media apps, Android and device updates, and new API improvements in Media3 and CameraX. Then, dive into technical implementations using modern Android coding practices like Jetpack Compose and Kotlin, which make it simple to build delightful, engaging user experiences.

Media → https://goo.gle/4b6axlj
Github → https://goo.gle/3EclKAm

Speakers: Karthic Veera, Caren Chang, Daniel Galpin, Jolanda Verhoef

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Products Mentioned: Android Media, Android Camera
Event: Google I/O 2024
What's new on Google TV and the Android TV OS

https://www.youtube.com/watch?v=s0jUt5LTtpI

Discover new user experience enhancements in Google TV and the latest additions to the next Android TV OS platform update. Learn how the updated developer tools in Compose for TV and Android Studio are making it easier than ever to build beautiful apps for TV.

Speakers: Shobana Radhakrishnan, Paul Lammertsma

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Event: Google I/O 2024
Building adaptable experiences with Android Health

https://www.youtube.com/watch?v=cWUcag-8iWI

Get the inside scoop on updates to Health Connect and Health Services. Learn what tools are available to create a strong, data-driven foundation for your Android Health-powered app, including new data types and testing tools.

Learn more about Health Connect → https://goo.gle/3Jnq0BE
Learn more about Health Services on Wear OS → https://goo.gle/3U8ucdd
Migrate from Google Fit → https://goo.gle/4b2MfIN
Learn more about the Google Fit sunset → https://goo.gle/4dDPJDD

Speakers: Breana Tate, Chris Wilk

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Products Mentioned: Android Health Connect
Event: Google I/O 2024
Passkeys and identity best practices

https://www.youtube.com/watch?v=fgTOeLShcrY

Passkeys are the modern standard for enabling seamless, secure, and trustworthy sign-in user flows. Discover how to accelerate your authentication and account creation experiences with passkeys and Sign in with Google through Credential Manager. Learn about new and upcoming Credential Manager features, including Wear integration and autofill. Explore cross-platform identity strategies with Sign in with Google alongside wallet-based solutions to improve the user experience across web and mobile.

Understand passkeys in 4 minutes → https://goo.gle/4d2s13L
KAYAK case study → https://goo.gle/4d1m9Yp
TikTok case study → https://goo.gle/44bm2FF
Data Breach Investigations Report → https://goo.gle/3PEIzop
Credential Manager → https://goo.gle/credential-manager
Passkeys pathway → https://goo.gle/passkeys-pathway
Identity Authentication → https://goo.gle/4acNXYa

Speakers: Gina Biernacki, Kateryna Semenova

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Products Mentioned: Android Credential Manager,
Event: Google I/O 2024
Best practices for rendering your game multiplatform

https://www.youtube.com/watch?v=PEfenmYPQHY

Gamers appreciate premium, immersive experiences. And thanks to Android, your game can already run on tablets, foldables, desktops, and Chromebooks. But what does it take to stand out on different form factors and impress players? Join us to learn best practices for rendering, managing assets, and windowing in resizable contexts to build quality experiences and bring your game across multiple form factors to expand your player audience.

Multiplatform Game Development Overview → https://goo.gle/4d7XYaM
Make your game great on different form factors → https://goo.gle/3UoTuFl

Speakers: Daniel Levy, Matt Monasch, Patrick Martin

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Products Mentioned: Android, ChromeOS, Google Play
Event: Google I/O 2024
3 things to improve your Android App experience: Edge to Edge, Predictive Back, and Glance

https://www.youtube.com/watch?v=RimGfoOU67s

Learn how Edge to Edge, Predictive Back, and Glance can enhance the user experience and quality of an Android app. The pathway will guide the user through codelabs to improve the Android-maintained SociaLite app, https://github.com/android/socialite.

To complete the workshop, you'll need a laptop with Android Studio with the SociaLite app project loaded. You'll also need a device with Android 15 Beta 2 installed.

Edge to Edge Compose → https://goo.gle/3Jxrid7
Edge to Edge Views → https://goo.gle/3A1pJjA
Predictive Back → https://goo.gle/3U7LuHr
Glance → https://goo.gle/3Uq1Uws

Speakers: Ash Nohe, Summers Pittman

Watch more:
Check out all the Mobile videos at Google I/O 2024 → https://goo.gle/io24-mobile-yt
Check out all the Android & Play sessions from Google I/O → https://goo.gle/io24-androidplay-yt

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#GoogleIO #Featured #Android #AndroidDevelopers

Products Mentioned:
Event: Google I/O 2024
Micro optimizations - Android Developers Backstage

https://www.youtube.com/watch?v=Z9-Z16glXRU

Link to podcast → https://goo.gle/4f2wC7b

In this episode Tor and Romain find themselves without a guest and decide to chat about micro optimizations and writing custom tools.

Chapters:
Intro (00:00)
Micro optimizations (00:32)
Kotlin explorer (3:25)
Avoiding object allocations (6:49)
Code Inefficiencies (8:10)
Compilers (12:13)
Understand assembly with AI (18:39)
Layout opt (21:20)
Programmers writing tools (21:52)
char.isBlank (25:35)
Lint checks (27:59)
Companion objects (29:40)
Java assertion mechanism (32:00)
Hash maps (35:13)
When to micro optimize and when not to (43:46)
Benchmarking (47:26)
New optimizations (48:46)
Wrap up (50:46)

Catch more Android Developers Backstage → https://goo.gle/adb-podcast
Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #Android #AndroidDevelopersBackstage


Speakers: Tor Norbye, Romain Guy
Products Mentioned: Android
Building for the future of Android

https://www.youtube.com/watch?v=YKPqjsYBFvI

Join Dan and Ash as they dive into building for the future of Android!

This comprehensive talk covers:
·User Experience: Discover how Android 15 enforces an edge-to-edge UI, enhancing your app's visual appeal and making navigation seamless. Learn essential tips and tricks for handling insets effectively, ensuring your app looks its best on Android 15.
·Predictive Back: Explore the magic of Predictive Back. Learn how to integrate this intuitive functionality into your app, offering users a smoother navigation experience.
·Glance Widgets: Unlock the potential of Glance widgets, keeping your users engaged and informed directly from their home screens. Witness the power of AI-enhanced interactivity, taking your widgets to the next level!
·Technical Quality & Performance: Gain valuable insights into essential updates and best practices to elevate your app's performance and reliability. Explore the latest advancements in power management, background work, storage optimization, and more!
·Privacy & Security: Learn how to protect your user's data and ensure their safety in the ever-evolving digital landscape. Explore new features like Private Space, Photo Picker, and Credential Manager, enhancing privacy and security in Android 15.
·SDK Console: Discover the SDK Console, providing SDK owners with control and insights into their SDKs. Learn how to register your SDKs, access valuable data, and communicate directly with developers to build a better Android ecosystem.

Chapters:
0:00 - Introduction
0:39 - Edge to Edge
3:56 - Predictive Back
8:07 - Widgets
10:21 - GenAI
14:51 - Technical Quality
18:45 - Privacy and Security
21:35 - Conclusion

Resources:
Edge to edge inset handling tips → https://goo.gle/3X01Pzw
Android 15 Behavior changes → https://goo.gle/3XshGIB

Watch more Android 15 Spotlight Week → https://goo.gle/android15-spotlight
Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #EdgeToEdge #PredictiveBack #Glance #Android


Speakers: Ash Nohe, Daniel Galpin
Products Mentioned: Predictive Back, Glance, Foreground Services, Passkeys, Credential Manager, SDK Console, Private Space
Compose animations - Android Developers Backstage

https://www.youtube.com/watch?v=kFtFP5dBJDo

In this episode, Chet, Romain, and Tor chat with Doris Liu from the Compose team about animations in Compose -- covering everything from the basic primitives up to the recently added Shared Element Transitions.

Chapters:
Intro (00:00)
Animation capabilities of Compose (1:06)
Different types of animation specs (3:43)
Layers of functionality, transitions (7:49)
TargetBasedAnimation (9:48)
Vectors & velocity of color change (12:43)
Second layer parallel to animation spec (16:39)
Animation interruptions (18:48)
Motion layout problem-solving (20:19)
Both scale and move in question (25:45)
Different mental models for layout animation in Compose vs. View (26:20)
Shared element (31:05)
Are there things you wish more people were aware of? (34:19)
What's the tooling story for this? (41:57)
What is Look Ahead? (43:16)
All software is regret (48:49)
New API: Modifier.animateBounds (51:52)
How to reach Doris – leave a comment (55:57)
Motion Frame of Reference Placement (57:29)
Wrap up (59:10)

Links:
Shared element tutorial → https://goo.gle/3XrGYp5
Shared element talk → https://goo.gle/47tm3qm
A quick guide to compose animations → https://goo.gle/3Tm853p
The API layers except the highest level APIs we chatted about in the podcast → https://goo.gle/3MGsiNE

Catch more Android Developers Backstage → https://goo.gle/adb-podcast
Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #Android #AndroidDevelopersBackstage
Building for the future of Android

https://www.youtube.com/watch?v=PZciYibwZ1I

Building for the Future of Android is about future-proofing your app as much as possible, including an exploration of key Android 15 changes including Edge-to-Edge, Predictive Back, and Private Space, as well as changes around foreground services, widgets, passkeys, privacy and security, and technical quality. It also covers building widgets with Compose syntax using Glance, along with huge updates to the Google Play SDK Console.

Watch more Spotlight Weeks → https://goo.gle/SpotlightWeeks

#AndroidDevelopers #Android #Android15


Speaker: Daniel Galpin, Ash Nohe
Room Renovations - Android Conference Talks

https://www.youtube.com/watch?v=MwoRPPzeLtA

In this video, Elif from the Android Toolkit & Jetpack Team will be talking about Room!

This past year was a BIG one for Room, and we are excited to share all the renovations we completed as we entered the Kotlin Multiplatform world.

Chapters:
0:00 - Introduction
0:49 - Getting Started With a New Room KMP Project
6:12 - Migrating an Existing Room Project to Room KMP

Resources:
Get Started with Room KMP → https://goo.gle/4dhl6Ti
Migration to Room KMP Guide → https://goo.gle/4gBSYgo
Coroutines Guide → https://goo.gle/2XMkEJf

Watch more Android Conference Talks → https://goo.gle/ConferenceTalks
Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #AndroidDevelopers #Android


Speaker: Elif Bilgin
Products Mentioned: Android
Room Renovations #shorts

https://www.youtube.com/watch?v=ukqFbqL2uuM

In the full video, Elif from the Android Toolkit & Jetpack Team talks about Room!

This past year was a BIG one for Room, and we are excited to share all the renovations we completed as we entered the Kotlin Multiplatform world.

Watch more Android Conference Talks → https://goo.gle/AndroidDevShorts
Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #AndroidDevelopers #Android


Speaker: Elif Bilgin
Products Mentioned: Android
Studio Jewelry - Android Developers Backstage

https://www.youtube.com/watch?v=HmjKmoct3Ws

Link to podcast → https://goo.gle/3YAzC4c

In this episode Chet, Romain and Tor chat with Sebastiano about how the Android Studio team builds UIs. We talk about how Compose for Desktop is used in parts of Android Studio and how the Compose Markdown renderer available in the Jewel library makes Studio Bot tick.

Chapters:
Intro (00:00)
Android Dev UX team (00:39)
What kind of libraries and languages are used to build Android studio? (1:52)
Swing (2:53)
Reactive and declarative programming models (8:25)
SKIA for Kotlin (10:01)
Jetpack Compose widgets (11:54)
Jewel (13:07)
Text rendering across platforms (15:51)
Differences in behaviors (17:40)
Support for markdown files (20:26)
What is markdown? (21:25)
Swing and html (25:45)
Selection handling in StudioBot (28:46)
Boosting productivity with Compose (30:40)
Standalone vs plugin artifacts (34:29)
The difference between Jewel & Swing (35:30)
HTML vs Markdown (39:31)
Markdeep (41:53)
Jewel's Markdown API (43:46)
Where to find Jewel? (46:54)
Sebastiano’s podcast - Code with the Italians (47:34)
Final thoughts (49:13)

Resources:
Jetpack Compose → https://goo.gle/4hfyWZt
Compose Multiplatform, for Desktop → https://goo.gle/3NFgvju
Jewel → https://goo.gle/3Ulo0Q6
Jewel Markdown Renderer → https://goo.gle/4fjWmv8

Catch more Android Developers Backstage → https://goo.gle/adb-podcast
Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #Android #AndroidDevelopersBackstage
Rules about performance tools - Android Developers Backstage

https://www.youtube.com/watch?v=bvXWQ2NidmQ

In this episode Chet, Romain and Tor chat with Shai Barack about how the Android platform team studies performance and understands system health - and what is system health anyway? We talk about measuring performance, deciding trade-offs, and our favorite tools such as Perfetto, Compiler Explorer, and Android Studio's Memory Profiler.

Chapters:
Intro (00:00)
System health (0:27)
Efforts to make apps more efficient (3:35)
Telemetry data (5:59)
Trade offs between long battery life and good performance (8:21)
Scheduling groups (10:38)
Static drain (13:32)
Collaborating with App developers vs operating system (19:10)
High refresh rates (23:26)
Reach vs engagement (32:02)
What tools does your team use to optimize performance? (34:10)
Godbolt.org (37:09)
Demystifying (39:39)
The best tools are multi-player (43:52)
R8 or R-Not? (45:42)
Optimizing for feature sets (48:05)
Tools, not Rules (50:08)
What are the tools I should be aware of as an app developer looking to upscale performance? (54:36)
Allocation tracker (55:37)
Open source tools (57:08)
Useful resources for devs to understand various tools (59:04)
Final thoughts (1:06:19)

Links:
Link to podcast → https://goo.gle/3ZmnrIO
Compiler Explorer → https://goo.gle/3Zbq6DV
Perfetto → https://goo.gle/3OtD3UK and https://goo.gle/3B3S3p5
Tools, not Rules → https://goo.gle/416CyY7

Catch more Android Developers Backstage → https://goo.gle/adb-podcast
Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #Android #AndroidDevelopersBackstage