Java tutorial
//package com.java2s; //License from project: Apache License import android.text.TextUtils; import android.util.Base64; public class Main { public static String base64Decode(String originalString) { if (TextUtils.isEmpty(originalString)) return ""; return new String(Base64.decode(originalString, 0)); } }