List of usage examples for android.os Environment getExternalStorageDirectory
public static File getExternalStorageDirectory()
From source file:Main.java
public static String getSdCardPath() { return Environment.getExternalStorageDirectory().getPath(); }
From source file:Main.java
public static String getSDCardPath() { return Environment.getExternalStorageDirectory().getPath(); }
From source file:Main.java
public static String getSdcardPath() { return Environment.getExternalStorageDirectory().getPath(); }
From source file:Main.java
public static boolean checkSdCard() { if (Environment.getExternalStorageDirectory().equals(Environment.MEDIA_MOUNTED)) return true; else/*from www .j av a 2 s . co m*/ return false; }
From source file:Main.java
public static boolean existSDCard() { if (!Environment.getExternalStorageDirectory().equals(Environment.MEDIA_MOUNTED)) { return true; } else {// w w w . java 2s. c o m return false; } }
From source file:Main.java
public static String getEnviromentPath() { return Environment.getExternalStorageDirectory().getAbsolutePath(); }
From source file:Main.java
public static String getRootDirectoryPath() { return Environment.getExternalStorageDirectory().toString(); }
From source file:Main.java
public static String getSdcardRootDirectory() { return Environment.getExternalStorageDirectory().getPath(); }
From source file:Main.java
public static String getSdCardAbsolutePath() { return Environment.getExternalStorageDirectory().getAbsolutePath(); }
From source file:Main.java
public static File getSdcardFile() { return Environment.getExternalStorageDirectory(); }