Android Utililty Methods String Base64 Encode

List of utility methods to do String Base64 Encode

Description

The list of methods to do String Base64 Encode are organized into topic(s).

Method

byte[]fromBase64(String b64Data)
Converts a Base64-encoded string to the original byte data.
byte[] decoded;
try {
    decoded = Base64.decodeBase64(b64Data
            .getBytes(DEFAULT_ENCODING));
} catch (UnsupportedEncodingException uee) {
    Log.w(TAG,
            "Tried to Base64-decode a String with the wrong encoding: ",
            uee);
...