List of usage examples for android.os Environment MEDIA_MOUNTED
String MEDIA_MOUNTED
To view the source code for android.os Environment MEDIA_MOUNTED.
Click Source Link
From source file:Main.java
public static boolean hasSDCard() { return android.os.Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()); }
From source file:Main.java
public static boolean checkSdcard() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean SDCardEnabled() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
private static boolean isExistSDCard() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean haveSdCard() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isSDcardOK() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean checkSDCard() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isSDCardExist() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static String getSDPath() { if (Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED)) { String sdDir = Environment.getExternalStorageDirectory().getPath(); return sdDir; }/*from w ww. ja va 2 s. c om*/ return null; }
From source file:Main.java
public static boolean checkSdCard() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }