title: Capture image without permission with Android 6.0
body: <p>I need to let the user take a picture (from the gallery or from a camera app) with Android 6.0.</p>
  
  <p>Because I don't need to control the camera, I wanted to use an intent as describe here:</p>
  
  <blockquote>
    <p>However, if you don't need such control, you can just use an ACTION_IMAGE_CAPTURE intent to request an image. When you start the intent, the user is prompted to choose a camera app (if there isn't already a default camera app), and that app takes the picture. The camera app returns the picture to your app's onActivityResult() method.</p>
  </blockquote>
  
  <p><a href="https://developer.android.com/preview/features/runtime-permissions.html">https://developer.android.com/preview/features/runtime-permissions.html</a></p>
  
  <p>But for this <strong>ACTION_IMAGE_CAPTURE</strong>, you need to fill the extra <strong>"MediaStore.EXTRA_OUTPUT"</strong> which is an Uri to a temp file (without this param I will have only a thumbnail). This temp file must be into the external storage (to be accessible by the camera app). You need the permission <strong>WRITE_EXTERNAL_STORAGE</strong> to create a file on the external storage.</p>
  
  <p>So it's not possible to capture an image through native dialogs/apps without the <strong>permission android.permission.CAMERA</strong> or <strong>android.permission.WRITE_EXTERNAL_STORAGE</strong>. Is that correct?</p>
  
  <p>Thanks</p>