Java tutorial
//package com.java2s; import java.io.File; import android.content.Context; public class Main { public static String getDataCachePath(Context context) { return context.getCacheDir().getAbsolutePath() + File.separator; } }