Java tutorial
//package com.java2s; import java.io.File; import android.content.Context; public class Main { private static final String fileName = "eventsInfo.xml"; public static File getEventsPath(Context context) { return new File(context.getCacheDir().getAbsolutePath() + "/info", fileName); } }