-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议适配一下Android7.0哦 #139
Comments
来一个简单粗暴的解决办法: http://blog.csdn.net/huangxiaoguo1/article/details/52830015?locationNum=2&fps=1 在Application的onCreat()方法中添加以下代码:
|
大概知道应该是这样调用相机,但是在哪里更改呢? 还是你最后使用的代码最牛,不会有问题了! |
@gdky005 你这种适配方法有问题,还是老实配置FileProvider吧,因为用了detectFileUriExposure()以为就不用配置FileProvider了,结果到了安卓10上应用更新因为沙盒机制的原因会闪退 ,就是这个文章里的问题https://www.dazhuanlan.com/2019/10/23/5db01b9798489/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: