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