Java tutorial
//package com.java2s; //License from project: GNU General Public License import java.io.File; import android.content.Context; public class Main { public static boolean hasExternalStoragePrivateFile(Context appCtx, String fileName) { File file = new File(appCtx.getExternalFilesDir(null), fileName); return file.exists(); } }