Java tutorial
//package com.java2s; import android.os.Environment; public class Main { public static boolean isExtStorgAvailable() { boolean result = false; if (Environment.getExternalStorageState().equalsIgnoreCase(Environment.MEDIA_MOUNTED)) { result = true; } return result; } }