Everything AndroidDev needs in your pocket

Android

What’s new in Android 15, plus more updates

A glowing Android phone with a bot with 15 above surrounded by apps protected by private space and theft protection toggles

16 October 2024 OPEN

Android Developers Blog

Creating a responsive dashboard layout for JetLagged with Jetpack Compose

This blog post is part of our series: Adaptive Spotlight Week where we provide resources—blog posts, videos, sample code, and more—all designed to help you adapt your apps to phones, foldables, tablets, ChromeOS and even cars. You can read more in the overview of the

16 October 2024 OPEN

Android Developers Blog

#WeArePlay | NomadHer helps women travel the world

In our latest film for #WeArePlay, which celebrates the people behind apps and games, we meet Hyojeong - the visionary behind the app NomadHer. She’s aiming to reshape how women explore the world by building a global community: sharing travel tips, prioritizing safety, and connecting

16 October 2024 OPEN

Android Studio Release Updates

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 6 now available

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 6 is now available in the Canary channel. If you already have an Android Studio build on the Canary channel, you can get the update by clicking Help > Check for Updates (or Android Studio > Check

15 October 2024 OPEN

Android Studio Release Updates

Android Studio Ladybug | 2024.2.1 Patch 1 now available

Android Studio Ladybug | 2024.2.1 Patch 1 is now available in the Stable channel. If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Updates (or Android Studio > Check for Updates

15 October 2024 OPEN

Android Developers Blog

Here's what happening in our latest Spotlight Week: Adaptive Android Apps

Adaptive Spotlight Week With Android powering a diverse range of devices, users expect a seamless and optimized experience across their foldables, tablets, ChromeOS, and even cars. To meet these expectations, developers need to build their apps with multiple screen sizes and form factors in mind.

15 October 2024 OPEN

ProAndroidDev - Medium

Animation and Masking in Jetpack Compose with the grahpicsLayer() and Drawing Modifiers

To sum up, here’s the full implementation of the loadingRevealAnimation() modifier:private fun Modifier.loadingRevealAnimation( progress: State, yOffset: State, wavesCount: Int = 2, amplitudeProvider: (totalSize: Size) -> Float = { it.minDimension * 0.1f } ): Modifier = this .graphicsLayer( compositingStrategy = CompositingStrategy.Offscreen ) .drawWithCache { val height

14 October 2024 OPEN

ProAndroidDev - Medium

Facing a Multithreading Tech Interview

Lessons from a Live Coding SessionMotivation I’ve recently gone through several interesting tech interviews and one of the new challenges for me was a multithreading interview. It was a one-hour live-coding session where I had to solve typical Android multithreading issues. Even though I have

14 October 2024 OPEN

ProAndroidDev - Medium

Using Kotlin Reflection to Automate Compose Navigation

Using Kotlin Reflection, Extension Function, and GSON, it is possible to do all that.The Implementation So first let’s add the dependencies what we will be using like this:https://medium.com/media/de20946ee3a4cfa39baa08f33dc8df7f/href And adding it to the build.gradle.kts file like this:https://medium.com/media/5199075a8989bb15155eab2fd4c39437/href Now we’re all set, let’s get cooking. For

14 October 2024 OPEN

Kotlin : A concise multiplatform language developed by JetBrains | The JetBrains Blog

Ktor 3.0 Is Now Available With New Features and Improved Performance

This new version uses Kotlin 2.0 and switches to kotlinx-io, making Ktor more up to date and better connected with other Kotlin tools. Ktor 3.0 works faster and gives you more options for building client-server applications. If you’re new to Ktor or need a reminder

11 October 2024 OPEN

Android Developers - Medium

Now in Android #110

At our ninth Made By Google event on August 13th, we announced new AI experiences across Gemini and Android, along with our largest lineup of Pixel devices ever — including the Pixel 9 family, our first phones with Gemini baked in as our next-generation assistant.

11 October 2024 OPEN

Android Developers Blog

Introducing Ink API, a new Jetpack library for stylus apps

With stylus input, Android apps on phones, foldables, tablets, and Chromebooks become even more powerful tools for productivity and creativity. While there's already a lot to think about when designing for large screens – see our full guidance and inspiration gallery – styluses are especially

09 October 2024 OPEN

ProAndroidDev - Medium

Clean Strings Handling in Android

In code, it’ll look like this:https://medium.com/media/3e02649eedb6b9dc82bf7fdea8fb5f72/href This can be a domain layer model if it has some dependencies on Android already. If you’re doing it the proper and fully clean way, then you can use it without the @StringRes annotation.Get the value Now, we can

09 October 2024 OPEN

ProAndroidDev - Medium

Jetpack compose: What Scaffold have and have not

Unlocking the Power of Scaffold: What It Can and Can’t Do in Jetpack Compose Android Consultant | Trainer Email me | Follow me on LinkedIn | Follow me on Medium | Buy me a coffee Jetpack compose: What Scaffold have and have not was originally

09 October 2024 OPEN

ProAndroidDev - Medium

Floating in Space — Animations with Compose and Canvas

Floating in Space — Animations with Compose and Canvas In my previous blog post, Paint the Stars — Drawing with Compose and Canvas, I shared how I wanted to be better with Canvas and Compose and created an illustration with planets and stars. This blog

09 October 2024 OPEN

ProAndroidDev - Medium

Building a Cross-Platform Camera App with CameraK and Compose Multiplatform

Taking and Saving Pictures: To take pictures, let's add a a button val scope = rememberCoroutineScope() // Capture Button at the Bottom Center Button( onClick = { scope.launch { when (val result = cameraController.takePicture()) { is ImageCaptureResult.Success -> { val imageBitmap = result.byteArray.decodeToImageBitmap() } is

09 October 2024 OPEN

ProAndroidDev - Medium

Correctly combining APIs with Business logic

To handle all possible scenarios when it comes to business logic, I implement two versions of a UseCase:FlowUseCase A FlowUseCase is an abstract class intended to implement, as stated previously, the associated business logic. The use of Kotlin Flows here enables the emission of multiple

09 October 2024 OPEN

Kotlin : A concise multiplatform language developed by JetBrains | The JetBrains Blog

The Evolution of the Kotlin Language and How You Can Contribute

Kotlin’s evolution is significantly influenced by its active community. From early ideas to the final features, it’s shaped by feedback, discussions, and real-world use cases. We call this process KEEP – the Kotlin Evolution and Enhancement Process. To keep you informed about what’s coming next,

07 October 2024 OPEN

ProAndroidDev - Medium

Place Scope Handling on Auto-Pilot with Koin & Compose Navigation

Work smarter, not harder, when managing custom Koin scopes. Koin has straightforward APIs to manage custom scopes and Compose Navigation can easily express app flows as nested navigation graphs, but how can we connect these two worlds to automatically connect to a scope when the

05 October 2024 OPEN

Android Studio Release Updates

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 5 now available

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 5 is now available in the Canary channel. If you already have an Android Studio build on the Canary channel, you can get the update by clicking Help > Check for Updates (or Android Studio > Check

04 October 2024 OPEN

Android Developers Blog

Gemini API in action: showcase of innovative Android apps

With the advent of Generative AI, Android developers now have access to capabilities that were previously out of reach. For instance, you can now easily add image captioning to your app without any computer vision knowledge. With the upcoming launch of the stable version of

04 October 2024 OPEN

Android Developers Blog

Advanced capabilities of the Gemini API for Android developers

Thousands of developers across the globe are harnessing the power of the Gemini 1.5 Pro and Gemini 1.5 Flash models to infuse advanced generative AI features into their applications. Android developers are no exception, and with the upcoming launch of the stable version of VertexAI

04 October 2024 OPEN

ProAndroidDev - Medium

Upgrading from AGP 7.4.1 to 8.5.2: A Developer’s Diary

Upgrading essential tools in Android development often feels like navigating a complex maze, where each turn can either lead you to new efficiencies or unexpected challenges. Recently, I embarked on such a journey: migrating from Android Gradle Plugin (AGP) 7.4.1 to AGP 8.5.2 to leverage

04 October 2024 OPEN

Android Developers Blog

PyTorch machine learning models on Android

Earlier this year we launched Google AI Edge, a suite of tools with easy access to ready-to-use ML tasks, frameworks that enable you to build ML pipelines, and run popular LLMs and custom models – all on-device. For AI on Android Spotlight Week, the Google

03 October 2024 OPEN

Android Developers Blog

How to bring your AI Model to Android devices

During AI on Android Spotlight Week, we're diving into how you can bring your own AI model to Android-powered devices such as phones, tablets, and beyond. By leveraging the tools and technologies available from Google and other sources, you can run sophisticated AI models directly

03 October 2024 OPEN

Android Studio Release Updates

Android Studio Ladybug | 2024.2.1 now available

Android Studio Ladybug | 2024.2.1 is now available in the Stable channel. If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Updates (or Android Studio > Check for Updates on macOS).

02 October 2024 OPEN

Android Developers Blog

An introduction to privacy and safety for Gemini Nano

AI can enhance the user experience and productivity of Android apps. If you're looking to build GenAI features that benefit from additional data privacy or offline inference, on-device GenAI is a good choice as it processes prompts directly on your device without any server calls.

02 October 2024 OPEN

Android Developers Blog

Gemini Nano is now available on Android via experimental access

Gemini, introduced last year, is Google’s most capable family of models yet; designed for flexibility, it can run on everything from data centers to mobile devices. Since announcing Gemini Nano, our most efficient model built for on-device tasks, we've been working with a limited set

02 October 2024 OPEN

ADN News

Android 16 codename found in AOSP

The Android 16 codename was found in AOSP source code. The new code name is a dessert but do not start with W as expected. The codename is *Baklava*. a Turkish dessert that name could origin from Mongolian root *to wrap*.

01 October 2024 OPEN

Android Studio Release Updates

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 4 now available

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 4 is now available in the Canary channel. If you already have an Android Studio build on the Canary channel, you can get the update by clicking Help > Check for Updates (or Android Studio > Check

27 September 2024 OPEN