Android examples for java.io:File
check File Exist
import java.io.File; public class Main { public static boolean checkFileExist(String fileName, String PATH) { File file = new File(PATH + fileName); if (file.exists()) { return true; } else/*from ww w . j a v a2 s. c o m*/ return false; } }