Loading multiple images using BitmapFactory [OutOfMemoryException]
<p>I'm trying to load 30 images into a Bitmap array using BitmapFactory but no matter what I do I keep getting OutOfMemoryException.. I tried resizing it and doing the scale way down.. people usually do 4-8 I tried 12,16,20, nothing works.. </p>

<p>I have a loop where it loads in a string of URLs and opens a new httpurlconnection each time around, downloads the image, and attempts to save it as a bitmap. the images are roughly 300kb each.</p>

<p>I've read other people having this issue with just one or two images so I'm not sure how what I'm looking to do is even possible.. I understand that jpegs and pngs are compressed format and the filesize is wayyy bigger on the phone because its an uncompressed bitmap, but there must be a way to efficently save a bunch of pictures in an array.. because i've seen it done before.</p>

<p>I tried the bitmap.recycle() and it took about 20 seconds to load, but didnt memoryerror, then when I tried viewing the image from the bitmap it gave me the 'cannot view recycled image' ? </p>

<p>Not sure if anyone else has tried to load many pictures (30-100) and save it in a bitmap array or if its even possible, but either way, let me know! </p>

<p>Thanks.</p>
