Java tutorial
//package com.java2s; //License from project: Open Source License import android.content.Context; import java.io.File; public class Main { public static File getCodeDir(Context context) { return new File(context.getFilesDir(), "code"); } }