The correct, complete, 2024, settings to configure the Java version in Gradle for Android.
Category: Intermediate
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…
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.
When is a Type not a Type? Kotlin in the IDE
This article explains the ‘show type hints’ feature of IntelliJ. To get to see those sweet variable types you desire but not change any of the code conventions in your place of work.
java.lang.SecurityException with SubscriptionManager – But I declared the permissions!..
Oh my! This is one of those times with Android where you just slap your forehead, like what! This is the official documentation for using SubscriptionManager.addOnSubscriptionChangedListener Register for changes to the list of active SubscriptionInfo records or…
Hiding Text in Kotlin – How many ways?
At some point you may want to show that you know a text value, but not show the value itself. For example, when you have sensitive data stored like a password, you may want to…
[TUT] Speech to Text from a File with Google Cloud Speech API
This blog will explain how to use Google Cloud’s Speech API to convert an audio recording of someone speaking to text in Android. We’ll use Kotlin and the Google Speech client for best results. Google…
Read more of [TUT] Speech to Text from a File with Google Cloud Speech API