How to skip or avoid 'retake and review' option after capturing photo from camera using ACTION_IMAGE_CAPTURE
<p>I want to display the image when I click on the photo and want to set in my ImageView without user select yes or not....</p>
<p>I had searched for  it and I also know it very well that the camera app itself gives you the ability to review/retake the image, and once an image is accepted, the activity displays it. But, I want to do it without review/retake the activity display it.....</p>
<p><strong>I am trying this code fine</strong></p>
<p><strong>Initialise</strong></p>
<pre><code>  Uri mImageCaptureUri;
</code></pre>
<p><strong>For Click on Button</strong></p>
<pre><code>  Intent intent      = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
    intent.putExtra(MediaStore.EXTRA_SCREEN_ORIENTATION, ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
    File file        = new File(Environment.getExternalStorageDirectory(),
            &quot;tmp_avatar_&quot; + String.valueOf(System.currentTimeMillis()) + &quot;.jpg&quot;);
    mImageCaptureUri = Uri.fromFile(file);

    try {

        intent.putExtra(MediaStore.AUTHORITY, true);
        intent.putExtra(&quot;return-data&quot;, true);
        intent.putExtra(MediaStore.EXTRA_OUTPUT, mImageCaptureUri);
        startActivityForResult(intent, PICK_FROM_CAMERA);
    } catch (Exception e) {
        e.printStackTrace();
    }
</code></pre>
<blockquote>
<p><strong>onActivityResult</strong></p>
</blockquote>
<pre><code>  @Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {

        Bitmap bitmap = null;


        mPath = mImageCaptureUri.getPath();

        System.out.println(&quot;THE PAtH:_&quot; + mPath);

        BitmapFactory.Options o2 = new BitmapFactory.Options();
        bitmap = BitmapFactory.decodeFile(mPath, o2);
        ivSelfie.setImageBitmap(bitmap);

    
}
</code></pre>
<blockquote>
<p><strong>When I am Click the Photo Than I am Take this screen to select yes or not......</strong></p>
<p><strong>But My requirement is not select review/retake task and direct set to ImageView on activity display when just click and set.....</strong></p>
</blockquote>
<p><a href="https://i.stack.imgur.com/nGvlj.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/nGvlj.jpg" alt="enter image description here" /></a></p>