Java tutorial
//package com.java2s; import android.content.Context; import java.io.File; public class Main { public static boolean checkFileExists(Context context, String filename) { File file = new File(context.getExternalFilesDir(null), filename); return file.exists(); } }