Java tutorial
//package com.java2s; import android.util.Base64; public class Main { /*** * decode by Base64 */ public static byte[] decodeBase64(byte[] input) throws Exception { return Base64.decode(input, Base64.DEFAULT); } }