is Has External Storage - Android Phone

Android examples for Phone:Storage

Description

is Has External Storage

Demo Code


//package com.java2s;

import android.os.Environment;

public class Main {
    public static boolean isHasSD() {
        return Environment.getExternalStorageState().equals(
                Environment.MEDIA_MOUNTED);
    }//from  w  ww.ja v a2s  .  c  om
}

Related Tutorials