String state=Environment.getExternalStorageState();
if(state.equals(Environment.MEDIA_MOUNTED)){
存在
}else{
不存在
}