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