Try this:
SecureRandom random = new SecureRandom();
String randomCode = new BigInteger(30, random).toString(32).toUpperCase();
1
solved How to generate random code for Android application email verification
Try this:
SecureRandom random = new SecureRandom();
String randomCode = new BigInteger(30, random).toString(32).toUpperCase();
1
solved How to generate random code for Android application email verification