Java tutorial
//package com.java2s; import android.content.Context; import java.io.File; public class Main { public static File getPhoneCacheDir(Context context) { final String cacheDir = "/Android/data/" + context.getPackageName() + "/cache/"; return new File(context.getCacheDir().getPath() + cacheDir); } }