title: ViewFlipper : Bitmap size exceeds VM budget
body: <p>I am using a ViewFlipper to show some images from db. 
  I am taking the blob values to an ArrayList then, converting each byte array to bitmap.</p>
  
  <p>And then I am setting these each bitmap to each Imageview of ViewFlipper. 
  If the count of images is below 10, then it is working fine. But if it exceeds 10, then suddently it caught an Exception : 
  OutOfMemoryException : Bitmap size exceeds VM budget.</p>
  
  <p>When I use inSampleSize of BitmapFactory.Options, it is working fine.But I want to display the image with actual height and width. How can I do this without exception?</p>
  
  <p>My code is :</p>
  
  <pre><code>ViewFlipper vfImage    = (ViewFlipper)findViewById(R.id.vfImage);
  for(Photos objPhotos :arPhotos)
   {
       byte[] btImages = null;   
       Bitmap bitmapImage = null;
       btImages = objPhotos.getImage();
       ImageView imgPhoto= new ImageView(this);
       bitmapImage    = BitmapFactory.decodeByteArray(btImages, 0, btImages.length);
       imgPhoto.setImageBitmap(bitmapImage);
       vfImage.addView(imgPhoto);
  }
  vfImage.startFlipping();
  </code></pre>
  
  <p>Please help me..
  Thank you...</p>