Example usage for android.os Environment getExternalStorageDirectory

List of usage examples for android.os Environment getExternalStorageDirectory

Introduction

In this page you can find the example usage for android.os Environment getExternalStorageDirectory.

Prototype

public static File getExternalStorageDirectory() 

Source Link

Document

Return the primary shared/external storage directory.

Usage

From source file:Main.java

public static String getSdDir() {
    return Environment.getExternalStorageDirectory().toString();
}

From source file:Main.java

public static String getSDPre() {
    return Environment.getExternalStorageDirectory().getPath();
}

From source file:Main.java

public static String getSDPath() {
    return Environment.getExternalStorageDirectory().toString();
}

From source file:Main.java

public static String getProtoPath() {
    return Environment.getExternalStorageDirectory() + "/Arcade/models/train_val.prototxt";
}

From source file:Main.java

public static String getRootDir() {
    return Environment.getExternalStorageDirectory().getAbsolutePath();
}

From source file:Main.java

public static String getRootPath() {
    return Environment.getExternalStorageDirectory().getAbsolutePath();
}

From source file:Main.java

public static String getCamerPath() {
    return Environment.getExternalStorageDirectory() + "/TVFan/tempCamera/";
}

From source file:Main.java

public static String getCamerPath() {
    return Environment.getExternalStorageDirectory() + "/";
}

From source file:Main.java

public static String getSDCardpath() {
    return Environment.getExternalStorageDirectory().getPath();
}

From source file:Main.java

public static String getSdDirectory() {
    return Environment.getExternalStorageDirectory().getPath();
}