Java tutorial
//package com.java2s; //License from project: Apache License import java.io.File; import android.os.Environment; public class Main { public static File getPhotoDir() { File root_dir = Environment.getExternalStorageDirectory(); File photo_tmp_dir = new File(root_dir, "YYData/images/photos"); return photo_tmp_dir; } }