@@ -0,0 +1,906 @@
+package lx.af.demo.utils;%0A%0Aimport android.os.Environment;%0A%0Aimport java.io.File;%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Date;%0Aimport java.util.Locale;%0A%0Aimport lx.af.utils.PathUtils;%0A%0A/**%0A * author: lx%0A * date: 16-1-20%0A */%0Apublic final class Paths %7B%0A%0A    public static final String CAMERA_PATH =%0A            Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).toString();%0A%0A    public static final String CROP_PATH = PathUtils.getSdDir(%22crop_image%22);%0A%0A    public static File generateCropImagePath() %7B%0A        SimpleDateFormat df = new SimpleDateFormat(%22yyyyMMddHHmmss%22, Locale.CHINA);%0A        return new File(CROP_PATH, df.format(new Date()) + %22.jpg%22);%0A    %7D%0A%0A    public static File generateCameraImagePath() %7B%0A        SimpleDateFormat df = new SimpleDateFormat(%22yyyyMMddHHmmss%22, Locale.CHINA);%0A        return new File(CAMERA_PATH, df.format(new Date()) + %22.jpg%22);%0A    %7D%0A%0A%7D%0A

add path mananger for demo app