Entries by David Mays

How to Use Regex Replace to Refactor Code in Android

I frequently encounter situations where I have a lot of code that needs to be refactored. The situation I’m talking about isn’t a refactoring task that is supported by the refactoring tools built in to most IDEs so I enlist that double-edged sword, regular expressions, to make things easier and faster. The example I’ll use […]

Choose Kotlin For Your Next Android Project

Android development continues to get more productive as we move forward and as some great software engineers step up to fill in the cracks that were left in the framework. Many of those improvements are built-on additions to the Java language: lambdas, try-with-resources, forEach, static and/or default methods in interfaces, etc. Those changes in Java […]

Creating Keystores and Signing Android Apps

As a security measure, Android requires that apps be signed in order to be installed. Signing an app first requires creating keystores. A keystore is a storage mechanism for security certificates. A public key certificate is used to sign an APK before deployment to services like the Google Play Store.