android 7.0 手机调用手机相机、相册常见的两个崩溃:FileUriExposedException、SecurityException

今天在写项目的时候,遇到两个与手机相机、相册相关的崩溃crash,现总结如下,以后少跳坑。 android.os.FileUriExposedException: file:///storage/emulated/0/test.txt exposed beyond app through Intent.getData() java.lang.SecurityException: Permissio
相关文章
相关标签/搜索