Does your app speak in tongues?

This article is about something I’ve been regularly seeking but as the date of its publication, I cannot yet find a working solution. If I happen to find a good alternative, I’m going to post an update later. Motivation Unless you’re publishing an iOS-only application and abandoning the other 70% of your potential customers in the mobile market (I can see you, Clubhouse), you’re going to have multiple shared (as in duplicated) messages between iOS, Android, and possibly, Web clients. [Read More]

Easier Android Shared Preferences in Kotlin

Android provides a simple (and unprotected) key=value storage that can be used to persist user preferences and other non-critical data. All the data stored in SharedPreferences should be considered PUBLIC even if they are accessed using the mode Context.MODE_PRIVATE, and by no means they should EVER be used to store password hashes (even salted), tokens or credit card information. Some people even argue that one should not use Android Shared Preferences AT ALL. [Read More]

Easy way to use Custom Fonts in Android WebViews

Sometimes a backend provides you with a partial or unstyled html code, usually provenient from a Rich Text editor in a Web App. Therefore, you need to complete this html code and display it in a WebView. If you’re using a custom font, you might have noticed there’s no straightforward way to modify the default WebView font family, as there is for other views. Here’s an easy way to do it via CSS. [Read More]

Running Android Studio from a container

One of the benefits or docker containers is that it allows you to test a new application in an environment different from that you already run without risking it, for example, by installing a new JDK you suspect doesn’t play well with the tools you have.

[Read More]