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 final String PATH = Environment.getExternalStorageDirectory().getPath() + "/appstore";

    public static boolean isFileExists(String fileName) {
        File f = new File(PATH + fileName);
        return f.isDirectory();
    }
}