sd卡路径

File sdCard = Environment.getExternalStorageDirectory(); 
File dir = new File (sdcard.getAbsolutePath() + "/dir1/dir2"); 
dir
.mkdirs(); 
File file = new File(dir, "filename"); 
 
FileOutputStream f = new FileOutputStream(f); 

你可能感兴趣的:(F#)