List of usage examples for android.os Environment getExternalStorageState
public static String 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 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 w w . j a v a 2 s . c o m return null; }
From source file:Main.java
public static boolean checkSdCard() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isSDCardReady() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isSdCardExsit() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean existSDCard() { return Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_MOUNTED); }
From source file:Main.java
public static boolean isExistSDCard() { if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { return true; }//from ww w . j ava2 s. c o m return false; }
From source file:Main.java
private static boolean isSDAvailable() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED) ? true : false; }
From source file:Main.java
public static Boolean isMediaMounted() { return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED); }