导读:Android在sd卡创建文件File sd = Environment.getExternalStorageDirectory();String path = sd.getPath()+/notes; File file = new File(path); if(!file.exists()) { file.mkdir(); }...
Android在sd卡创建文件
File sd = Environment.getExternalStorageDirectory();
String path = sd.getPath()+"/notes";
File file = new File(path);
if(!file.exists())
{
file.mkdir();
}