怎么创建文件夹?
aide吧
全部回复
仅看楼主
level 6
若酱哒哒 楼主
想写一个东西,让他创建文件夹,可不知道怎么弄!
帮助一下我
感激不尽哦!
我是小白
大触 不要喷!(#喷)
(
#蛋花哭)(#
蛋花哭)(#蛋花哭)
2015年12月02日 13点12分 1
level 10
File destDir = new File("文件夹");
if (!destDir.exists()) {
destDir.mkdirs();
}
还要在AndroidManifest.xml加个权限
2015年12月04日 07点12分 2
大佬,我想创建文件在软件内部路径,这个要怎么做呢
2021年11月21日 17点11分
level 10
权限<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
2015年12月04日 07点12分 3
level 8
蛋花哭[咦]
2015年12月04日 08点12分 4
level 8
new File
2021年11月23日 06点11分 7
1