/****************** 判断是否安装SD卡 *********************************/
if (!android.os.Environment.getExternalStorageState().equals(
android.os.Environment.MEDIA_MOUNTED)) {
Toast.makeText(this, "请安装SD卡!", Toast.LENGTH_SHORT).show(); // 弹出消息提示框显示提示信息
}
if (!android.os.Environment.getExternalStorageState().equals(
android.os.Environment.MEDIA_MOUNTED)) {
Toast.makeText(this, "请安装SD卡!", Toast.LENGTH_SHORT).show(); // 弹出消息提示框显示提示信息
}