Android SDCard Check isExternalStorageRemovable()

Here you can find the source of isExternalStorageRemovable()

Description

is External Storage Removable

License

Open Source License

Declaration

private static boolean isExternalStorageRemovable() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import android.os.Build;
import android.os.Environment;

public class Main {
    private static boolean isExternalStorageRemovable() {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) {
            return Environment.isExternalStorageRemovable();
        }/*from   w  ww  .  j a  v a2 s  .  c  o m*/
        return true;
    }
}

Related

  1. sdCardIsWork()
  2. isExternalStorageAvailable()
  3. isExternalStorageRemovable()
  4. isExternalStorageReadable()
  5. isExternalStorageWritable()
  6. hasExternalStorage()
  7. isExtStorageReadable()
  8. isExtStorageWritable()
  9. isExternalStorageWritable()