Java tutorial
//package com.java2s; import java.io.FileOutputStream; import android.util.Base64; public class Main { public static void decoderBase64File(String base64Code, String savePath) throws Exception { byte[] buffer = Base64.decode(base64Code, Base64.DEFAULT); FileOutputStream out = new FileOutputStream(savePath); out.write(buffer); out.close(); } }