What is a singleton on Java/Android?

A singleton is simple a class that can be instantiated, but only one instance can exist at a given time in the Java Virtual Machine (Or in Dalvik if you are using Android). Why is this useful? In the context of Android, you are the only one running on the JVM. Your phone is not Read More…

Returning MD5 instead of SHA1 from JDK 1.7 Keytool

If you are working with Android development, you know that you will need a debug MD5 key in order to request a Google Maps API Key. Most tutorials say to go to C:usersusername.Android and type: keytool -list -alias androiddebugkey -keystore debug.keystore -storepass android -keypass android Unfortunately, as of Java 7,  the keytool format has changed Read More…