[英]Android permission to new created folders
How do I add permissions to newly created folders? 如何为新创建的文件夹添加权限?
Example: User takes a picture (with the camera). 示例:用户用相机拍照。 If the folder I want doesn't exist, it is created, and the picture is place in it.
如果我想要的文件夹不存在,则会创建该文件夹并将图片放置在其中。 Can I protect the file/picture from user-deletion, and to only give permission to delete the whole folder?
我可以保护文件/图片不被用户删除,并且只授予删除整个文件夹的权限吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.