Java tutorial
//package com.java2s; import java.io.File; import android.content.Context; public class Main { public static boolean isFileExist(Context context, String fileName) { File fileDir = context.getFilesDir(); File f = new File(fileDir, fileName); boolean exist = f.exists(); return exist; } }