Reputation: 13165
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?
Upvotes: 0
Views: 393
Reputation: 10622
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
Upvotes: 1