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 getDataFileSoPatchForInstall(Context base) { File dir = new File(base.getFilesDir().getAbsolutePath() + File.separator + "rocoolib" + File.separator); if (!dir.exists()) { dir.mkdirs(); } return dir; } }