2010/8/10 Davide <[email protected]>:
> So i will try to download the bytes of the image and save they on the

Hi, this is what I have done but does not work :-(

Now I download images from internet into the getCache() dir of the app.

Then when I need to use an image I read it from local cache and convert
it on the fly with BitmapFactory.decodeStream.

But the same exception is throw: java.lang.OutOfMemoryError: bitmap
size exceeds VM budget

When I have the bitmap, then I put it in a imageview: setImageBitmap(val)

I use all images for a listview. As you know list view will use less
ui rows as data rows. So,
when scroll occour, the same imageview should display the new image.
Is possible that
the replaced bitmap is not recycled?

Anyone has a long (25 - 40) listview with images?


-- 
  _|  _.    o  _|  _
 (_| (_| \/ | (_| (/_

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to