Category: Reference

  • 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…

  • Zero to AI: An Android Developer’s Vital Local Setup

    Zero to AI: An Android Developer’s Vital Local Setup

    Forget just installing Android Studio and calling it a day. To operate at scale, you need a local environment that augments your engineering intuition with LLM-powered efficiency. Here is your Day 1 guide to setting up your machine for success.

  • 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…

  • Google I/O 2025: AI Unleashed – What Android Devs Need to Know!

    Google I/O 2025: AI Unleashed – What Android Devs Need to Know!

    The intro before the intro. Like every year I watched the keynote & developer keynote with excitement, taking my usual notes and reactive thoughts as it streams. This year though instead of myself turning those thoughts into a blog post, I asked Gemini to do it! This post is the outcome of using Gemini’s new…

  • 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…

  • Get started with Gemma 3 LLM on Android now!

    Get started with Gemma 3 LLM on Android now!

    This post gets you started with the new Gemma 3 model for on-device inference. Giving you the simplest steps to get started with AI on Android. Gemma 3 1B is a new model size in the Gemma family of open weight models. When deploying small language models (SLMs) in production settings, models need to be small…

  • 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 Bugsee SDK: Ignore the Docs, Do THIS Instead

    Android Bugsee SDK: Ignore the Docs, Do THIS Instead

    When introducing 3rd party libraries (like BugSee), often their configuration is dumped into your build.gradle/application:onCreate and mixed with everything else. This post shows you how to have cleaner, more maintainable code by creating your own gradle plugin. BugSee is a Flight recorder for your iOS and Android apps “See video, network and logs that led…

  • OCR with Gemini LLM on Android

    OCR with Gemini LLM on Android

    This artical is a quick introduction into setting up the Gemini API client SDK on Android to perform Optical Character Recognition (OCR) on images. Let’s jump straight in: The Gemini API gives you access to the latest generative AI models from Google. Gemini is a series of multimodal generative AI models developed by Google. Gemini…

  • 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!