Android 7.0及以上打开相机,裁剪问题(私有文件的访问权限,兼容小米)

在Android7.0以前,若是你想调用系统相机拍照能够经过如下代码来进行:html File file=new File(Environment.getExternalStorageDirectory(), "/temp/"+System.currentTimeMillis() + ".jpg"); if (!file.getParentFile().exists())file.getParen
相关文章
相关标签/搜索