title: ImageView not displaying Image
body: <p>I am using camera in my app.I need to take picture and should display it in <code>imageview</code>. I am using  the following code to take picture from the camera and display it.</p>
  
  <pre><code>    Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
      intent.putExtra(MediaStore.EXTRA_OUTPUT, capturedImageUri);
      startActivityForResult(intent, 0);
      imageView.setImageURI(capturedImageUri);
  </code></pre>
  
  <p>This works only for two or sometimes three images,then the <code>imageview</code> doesn't show the image but the image is correctly <code>stored in SD card</code>.
  Alternatively i have also used </p>
  
  <pre><code>   BitmapFactory.Options options = new BitmapFactory.Options();
     options.inPreferredConfig = Bitmap.Config.ARGB_8888; 
     Bitmap bitmap = BitmapFactory.decodeFile(photoPath, options);
     Imageview.setImageBitmap(bitmap);
  </code></pre>
  
  <p>But i am facing the same problem. can any one help me please. </p>