I need to let the user take a picture (from the gallery or from a camera app) with Android 6.0.
Because I don\'t need to control the camera, I wanted to use an intent as
I used content://
with FileProvider.getUriForFile()
as described here, and used external camera app by ACTION_IMAGE_CAPTURE intent, which is not supposed to require any permission.
But, it seems that if the app's manifest uses the android.permission.CAMERA
permission, then opening an external camera app does require camera permission. See here and here.