Java tutorial
//package com.java2s; import java.io.File; import android.app.Activity; public class Main { public static File getExternalFilesDir(Activity activity, String type) { return activity.getExternalFilesDir(type); } }