Tag: androiddev

  • Pair Programming With Your AI Agent

    Pair Programming With Your AI Agent

    This post explains how to treat a session with a local AI agent as a pair programming session, and how the four classic pairing styles map onto working with one. I’ll use Antigravity CLI for the concrete examples, though nothing here is specific to it. Swap in whichever agent sits in your terminal. The idea…

  • Google I/O 2026: The Sessions Worth Your Time

    Google I/O 2026: The Sessions Worth Your Time

    Like every year, I binge-watched I/O. And like every year I came out the other side with more links than time. A fire-hose of announcements, most of which you’ll never touch, a handful of which will change how you work next week. Here I filter for you. Links to the sessions are inline so you…

  • Android Skills: Expert Instructions for Your AI Agent

    Android Skills: Expert Instructions for Your AI Agent

    Google just published a set of Android skills a collection of expert, AI-optimised instructions covering the most common and painful Android development workflows. (Upgrading to AGP 9, migrating XML layouts to Compose, wiring up Navigation 3.) AI automated step-by-step procedures grounded in official Android best practices. The GitHub repo defaults to wiring them into Gemini…

  • Linting, Automated: AI-Powered Static Analysis with Gemini

    Linting, Automated: AI-Powered Static Analysis with Gemini

    Tired of fixing endless linting errors? What if an AI could do it for you? In this post, we’ll walk through how to build a Python script that uses Google’s Gemini to automatically fix static analysis issues, exploring the process and the lessons learned along the way. This is a journey from a simple idea…

  • Choosing Wisely: for vs. forEach in Kotlin (A Thinking Dev’s Perspective)

    Choosing Wisely: for vs. forEach in Kotlin (A Thinking Dev’s Perspective)

    The forEach loop, are you using it without thinking? In Kotlin, empirically forEach is often the go-to loop, it’s pragmatically close at reach in the IDE auto-complete, but is it always the right choice? This post argues that for loops deserve more consideration, offering clarity and control that forEach sometimes lacks. Let’s discuss why a…

  • Room Debug DAOs in Android: Streamlining Your Workflow

    Room Debug DAOs in Android: Streamlining Your Workflow

    This blog post explains how to create Room DAOs specifically for your Android debug build. These debug-only DAOs enable you to implement developer-centric features without affecting your production app. Keeping your codebase clean is essential for long-term maintainability. Debug-only DAOs help achieve this by isolating developer tools from user-facing features. Consider an app that caches…

  • Android Dynamic Animated SVGs (with Lottie Dynamic Properties)

    Android Dynamic Animated SVGs (with Lottie Dynamic Properties)

    Learn how to have runtime control of all parts of an animation or image, the color, opacity, scale, rotation .. any property within your SVG animation using Lottie Dynamic Properties. This tutorial is going to explain Lottie Dynamic Properties. Dynamic Properties are a way of controlling at runtime, the different parts of your animation. You…

  • Emoji error! Using the latest Compose with compileSDK < 34

    Emoji error! Using the latest Compose with compileSDK < 34

    Wanting to use the latest versions of Compose, but your app compileSdk is falling behind? I’ve been there! If you have a compileSdk < 34 but want to use Compose version > 1.5.0 you’ll come across a horrid build error. Let’s fix that! The error is question is this: Compose dependencies with a version >…

  • Setting JDK level in Android Gradle builds

    Setting JDK level in Android Gradle builds

    The correct, complete, 2024, settings to configure the Java version in Gradle for Android.

  • Set Activity Screen Brightness without Permission

    Set Activity Screen Brightness without Permission

    I wanted to brighten the screen, but all articles said you needed Android permissions. Codswallop! Here’s how!

  • build.gradle.kts conversion for Android Studio Empty Activity

    build.gradle.kts conversion for Android Studio Empty Activity

    Quick blog posting showing you the build.gradle.kts version of the default build.gradle file from the “empty activity” Android Studio template. This post will go stale fast, get it whilst its hot. 🙂 The original templates come from the New Project, other templates are explained here: https://developer.android.com/studio/projects/templates Google has an explainer of converting build configuration scripts…

  • Android Job Interview – Take-Home Test Cheat Sheet

    Android Job Interview – Take-Home Test Cheat Sheet

    Learn the steps needed in a typical Android take home test. Giving you the tools and knowledge you need to ace this part of any Android interview process.

  • Proven Prepping for Easy Android Interviews in 2023

    Proven Prepping for Easy Android Interviews in 2023

    This post aims to demystify some of the steps in a typical Android interview process. We’ll discuss steps, strategies, targets and solutions. Getting you better prepared to get your next Android role. This blog is from personal experience, caveat up front that your experience could be completely different, but I’ve been through A LOT of…

  • Applying a 3rd Party Gradle Plugin as a Composite Plugin

    Applying a 3rd Party Gradle Plugin as a Composite Plugin

    This post shows you how to wrap a 3rd party Gradle plugin in your own plugin, so that you can interactive with it programmatically.