Java tutorial
//package com.java2s; import android.os.Environment; import java.io.File; public class Main { public static String getSavePath(String folderName) { return getSaveFolder(folderName).getAbsolutePath(); } public static File getSaveFolder(String folderName) { File file = new File(Environment.getExternalStorageDirectory().getAbsoluteFile() + File.separator + folderName + File.separator); file.mkdirs(); return file; } }