Java tutorial
//package com.java2s; import android.annotation.TargetApi; import android.os.Build; import android.os.Environment; import java.io.*; public class Main { @TargetApi(Build.VERSION_CODES.FROYO) public static File getDCIMFile() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM); } }