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