Java tutorial
//package com.java2s; import java.io.File; import android.os.Environment; public class Main { public static Boolean LanguageFilePresentCheck() { File ftxtFile = new File(Environment.getExternalStorageDirectory() + "/WFP/Language/Language.txt"); if (ftxtFile.exists()) // check if file exist { return true; } else { return false; } } }