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 {
    private static final String FOLDER_PERSONAL_TRAINER = "personal_trainer";

    private static String getRootFolder() {
        File oRoot = Environment.getExternalStorageDirectory();
        return oRoot.getAbsolutePath() + "/" + FOLDER_PERSONAL_TRAINER;
    }
}