Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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;
        }
    }
}