Here you can find the source of decodeBase64(String value)
public static String decodeBase64(String value) throws IOException
//package com.java2s; import java.io.IOException; import android.util.Base64; public class Main { public static String decodeBase64(String value) throws IOException { if (!isEmpty(value)) { return new String(Base64.decode(value, Base64.DEFAULT)); }//from w w w. ja va2 s.com return ""; } public static boolean isEmpty(String value) { return value == null || value.trim().equals("") || value.length() == 0; } }