is Sd Card Mounted - Android android.os

Android examples for android.os:SD Card

Description

is Sd Card Mounted

Demo Code

import android.os.Environment;

public class Main {

  public static boolean isSdCardMounted() {
    return Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState());
  }//  ww  w  .j  a v  a  2s. co m

}

Related Tutorials