标签: android
如何将File存储在存储空间中并将其设为只读?如何设置File的权限?
File
File folder = new File(Environment.getExternalStorageDirectory() + "/AFolder"); if (!folder.exists()) { folder.mkdir(); Log.e(String.valueOf(folder),"Created......" ); } bval = folder.setReadOnly();