Java tutorial
//package com.java2s; import java.io.File; import android.content.Context; public class Main { public static boolean isFileExist(String filename, Context context) { boolean isExist = false; File file = context.getFileStreamPath(filename); if (file.exists()) { isExist = true; } return isExist; } }