Java tutorial
//package com.java2s; import android.content.Context; import java.io.File; public class Main { public static File getFilesDirectory(Context context) { // creates files directory under data/data/package name return context.getFilesDir(); } }