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 exterStorageReady() { return Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()) || !Environment.isExternalStorageRemovable(); }
From source file:Main.java
public static Boolean internalStorageExists() { return (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())); }
From source file:Main.java
public static boolean isSDCardAvailable() { if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) { return true; } else {//from ww w . j av a 2 s .c o m return false; } }
From source file:Main.java
public static boolean isExternalStorageMounted() { return Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()); }
From source file:Main.java
public static boolean hasSDCard() { boolean b = false; if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) { b = true;/*from ww w. j a v a 2 s.co m*/ } return b; }
From source file:Main.java
public static boolean hasSd() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isMonuted() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean hasSDCard() { return Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isSdCardOK() { return Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isSdCardOK() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }