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