Java tutorial
//package com.java2s; import android.text.TextUtils; import java.io.File; public class Main { public static boolean isFileExist(String fileName) { if (TextUtils.isEmpty(fileName)) { return false; } File file = new File(fileName); return file.exists(); } }