Java tutorial
//package com.java2s; //License from project: Apache License import java.io.File; import android.text.TextUtils; public class Main { public static boolean isExistFile(String fileName) { if (TextUtils.isEmpty(fileName)) { return false; } File file = new File(fileName); if (file.exists() && file.isFile()) { return true; } return false; } }