title: Display image in another activity after capture in android?
body: <p>I want to display my image in ImageView in another activity after I captured the photo.<br>
  I have 2 activities(MainActivity,UploadActivity) and 2 layouts(main,upload).</p>
  
  <p>main layout has 1button for open camera and upload layout has Imageview for display image after capture.
    MainActivity for button click to open camera and UploadActivity for retrieve image to display.</p>
  
  <p>this is the MainActivity</p>
  
  <pre><code> imb_eat.setOnClickListener(new OnClickListener() {
  
          public void onClick(View v) {
              Intent intent_capture = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
              startActivityForResult(intent_capture, 0);
          }
      });
  
  }
  </code></pre>