Android SDCard Check hasSDCard()

Here you can find the source of hasSDCard()

Description

has SD Card

Declaration

public static boolean hasSDCard() 

Method Source Code

//package com.java2s;

import android.os.Environment;

public class Main {
    public static boolean hasSDCard() {
        return Environment.MEDIA_MOUNTED.equals(Environment
                .getExternalStorageState());
    }//  w w w . j a va2s  .c om
}

Related

  1. enoughSpaceOnSdCard(long updateSize)
  2. getRealSizeOnPhone()
  3. getRealSizeOnSdcard()
  4. hasExternalCacheDir()
  5. hasSDCard()
  6. sdCardIsAvailable()
  7. isExternalStorageReadable()
  8. isExternalStorageWritable()
  9. hasMountSDCard()