December 2016

Did You Know?, Solutions

Signing key SHA1 fingerprints within AndroidStudio

Did you know you can get the signing SHA1 and MD5 fingerprints within AndroidStudio? Ever needed the SHA1, SHA-256 or MD5 fingerprints of your Android debug/release key/certificate? Maybe for a new API or framework that you want to integrate in your project like Firebase, Facebook or Maps? See that you can also get it from AndroidStudio, pretty […]

, , , , , , ,
Snippets

Generate random number between 2 numbers

The following snippet will help you generate a random number in Java that is between 2 numbers (min and max). static Random random = new Random(); /** * Min is inclusive and max is exclusive in this case **/ public static int randomBetween(int min, int max) { return random.nextInt(max – min) + min; } Please

, ,
Scroll to Top