I receive big image (png, >30Mb) and create bitmap for it. And get java.lang.OutOfMemoryError. I try to catch such exception:
try {
Bitmap bmp = BitmapFactory.decodeStream(someStream);
} catch (OutOfMemoryError e) {
;
}
With 2.2 SDK it works well. But with 2.3 app fails with uncatched exception. I don't understand, why?
Thanks!