예제 #1
0
 /**
  * directory of removable SD card, can be different from getExternalStorageDirectory() according
  * to devices
  *
  * @return
  */
 public static File getRemovableSDCardDirectory() {
   return DeviceInfo.singleton().getDeviceController().getRemovableSDCardDirectory();
 }
예제 #2
0
 public static boolean isFileOnRemovableSDCard(File file) {
   return DeviceInfo.singleton().getDeviceController().isFileOnRemovableSDCard(file);
 }
예제 #3
0
 /**
  * wrapper of android.os.Environment.getExternalStorageDirectory
  *
  * @return
  */
 public static File getExternalStorageDirectory() {
   return DeviceInfo.singleton().getDeviceController().getExternalStorageDirectory();
 }