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