Java tutorial
//package com.java2s; import java.io.File; import android.content.Context; public class Main { public static String getDirectoty(Context context) { File file = new File(context.getCacheDir(), "image"); return file.getAbsolutePath(); } }