How to convert a base64 string into hex in android? : <p>I am getting a base64 string. How do I convert it to hex.
I tried the followind but it isn't working</p>

<pre><code>String guid = "YxRfXk827kPgkmMUX15PNg==";
byte[] decoded = Base64.decodeBase64(guid);
String hexString = Hex.encodeHexString(decoded);
System.out.println(hexString);
</code></pre>
