//创建路径,其中getExternalStorageDirectory用来获取SD卡根目录
private String Path_file = Environment.getExternalStorageDirectory() + "/myrecord";
//创建文件,后边一句一定不要扔
File destDir = new File(Path_file);
if (!destDir.exists()) {
destDir.mkdirs();
}
//创建路径,其中getExternalStorageDirectory用来获取SD卡根目录
private String Path_file = Environment.getExternalStorageDirectory() + "/myrecord";
//创建文件,后边一句一定不要扔
File destDir = new File(Path_file);
if (!destDir.exists()) {
destDir.mkdirs();
}