Java tutorial
//package com.java2s; import android.os.Environment; public class Main { public static boolean checkSDcard() { boolean flag; if (Environment.getExternalStorageState().equals("mounted")) flag = true; else flag = false; return flag; } }