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…
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…
Read more of Emoji error! Using the latest Compose with compileSDK < 34
Setting JDK level in Android Gradle builds
The correct, complete, 2024, settings to configure the Java version in Gradle for Android.
Dependency Injection in Legacy Code
This post explains how you can inject dependencies into Android legacy singletons, or any classes that aren’t conforming to your current Android architecture, using Dagger & Hilt. I’ll cut straight to the chase, if you…
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
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…
Read more of build.gradle.kts conversion for Android Studio Empty Activity
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.