List of usage examples for android.os Environment isExternalStorageRemovable
public static boolean isExternalStorageRemovable()
From source file:com.tack.android.image.ImageCache.java
/** * Check if external storage is built-in or removable. * * @return True if external storage is removable (like an SD card), false * otherwise./*from www. j ava 2 s . c o m*/ */ @TargetApi(9) public static boolean isExternalStorageRemovable() { if (ConfigUtil.hasV09()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.lovebridge.chat.view.ImageCache.java
/** * Check if external storage is built-in or removable. * * @return True if external storage is removable (like an SD card), false * otherwise.//from w w w . ja va2 s . c o m */ @TargetApi(VERSION_CODES.GINGERBREAD) public static boolean isExternalStorageRemovable() { if (com.lovebridge.chat.utils.Utils.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.liangxun.university.huanxin.chat.video.util.VideoImageCache.java
/** * Check if external storage is built-in or removable. * * @return True if external storage is removable (like an SD card), false * otherwise./*w w w. jav a 2s .com*/ */ @TargetApi(VERSION_CODES.GINGERBREAD) public static boolean isExternalStorageRemovable() { if (HxUtils.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.wewe.android.util.video.ImageCache.java
/** * Check if external storage is built-in or removable. * //w w w. ja v a 2 s .co m * @return True if external storage is removable (like an SD card), false * otherwise. */ @TargetApi(VERSION_CODES.GINGERBREAD) public static boolean isExternalStorageRemovable() { if (VersionUtil.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.miaotu.imutil.video.ImageCache.java
/** * Check if external storage is built-in or removable. * //from w w w. ja v a2 s.c om * @return True if external storage is removable (like an SD card), false * otherwise. */ @TargetApi(VERSION_CODES.GINGERBREAD) public static boolean isExternalStorageRemovable() { if (Util.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.easemob.chatui.video.util.ImageCache.java
/** * Check if external storage is built-in or removable. * /* ww w.j a v a 2s .c om*/ * @return True if external storage is removable (like an SD card), false * otherwise. */ @TargetApi(VERSION_CODES.GINGERBREAD) public static boolean isExternalStorageRemovable() { if (com.easemob.chatui.video.util.Utils.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.example.image.ImageCache.java
/** * Check if external storage is built-in or removable. * * @return True if external storage is removable (like an SD card), false * otherwise./* w w w .j a va 2s . c om*/ */ @TargetApi(9) public static boolean isExternalStorageRemovable() { if (VersionUtils.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.fivehundredpxdemo.android.storage.ImageCache.java
/** * Check if external storage is built-in or removable. * * @return True if external storage is removable (like an SD card), false * otherwise.// w w w.ja v a 2s . c o m */ @TargetApi(9) public static boolean isExternalStorageRemovable() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:com.app.jiaxiaotong.im.utils.ImageCache.java
/** * Check if external storage is built-in or removable. * * @return True if external storage is removable (like an SD card), false * otherwise.//from w ww. j ava 2 s .c o m */ @TargetApi(Build.VERSION_CODES.GINGERBREAD) public static boolean isExternalStorageRemovable() { if (Utils.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }
From source file:android.support.asy.image.ImageCache.java
/** * Check if external storage is built-in or removable. * // www . j a va2 s . c o m * @return True if external storage is removable (like an SD card), false * otherwise. */ public static boolean isExternalStorageRemovable() { if (Utils.hasGingerbread()) { return Environment.isExternalStorageRemovable(); } return true; }