-
Notifications
You must be signed in to change notification settings - Fork 190
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
Android 7.0,打开相机的时候报错误java.lang.SecurityException: Permission Denial: starting Intent #1
Comments
android6.x需要加权限判断! |
@knjin |
yes, I declare CAMERA permission in Menifest.xml. |
@knjin But this issue is very strange. If you use Camera permission in Manifest.xml, you have to request camera permission for You can check it like this.
|
@ParkSangGwon |
- Support multi image select - fix rotation error
- Support Nougat version 'file://' scheme issue - Support max/min select error count text
- Support multi image select - fix rotation error
我在TedBottomPicker中#183,查看了打开相机的地方,
Intent cameraInent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);这里改为
Intent cameraInent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE_SECURE);就能够打开相机了。
参考:
https://developer.android.com/reference/android/provider/MediaStore.html#ACTION_IMAGE_CAPTURE
The text was updated successfully, but these errors were encountered: