0

I am using a large bitmap image for my application. While using the application, I get an out-of-memory error. My question is: how do I reduce the image size without reducing the resolution in android? Is there any other way to avoid an out-of-memory error?

4

1 に答える 1

1

you can use softreference for your bitmap here is link that might be helpful for you

Out of memory exception due to large bitmap size

于 2011-05-24T09:24:48.070 に答える