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