Java tutorial
//package com.java2s; import android.os.Environment; import java.io.File; public class Main { private static final String PATH_IMG = "data_img"; public static File getPicturePath() { File path = new File(Environment.getExternalStorageDirectory(), PATH_IMG); if (!path.exists()) { path.mkdirs(); } return path; } }