获取Environment.getExternalStorageState(),然后得到的字符串进行查看
//android.os.Environment.MEDIA_MOUNTED="mounted"
if("mounted".equals(Environment.getExternalStorageState())){
System.out.println("SDcard 挂载着");
}else if("unmounted".equals(Environment.getExternalStorageState())){
System.out.println("SDcard 未挂载");
}