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 CONTENTS_FOLDER_NAME = "OurAcademy";

    public static final String getContentImagePath(String fileName) {
        String path = Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator
                + CONTENTS_FOLDER_NAME + File.separator + "Images" + File.separator + fileName;
        return path;
    }
}