http://code.google.com/p/android/issues/detail?id=8488
according to the issue report in android sdk code line, need to update our code
with the comments below to avoid the potential OOM error:
------------------------------------
use BitmapFactory.decodeFileDescriptor instead of decodeStream/decodeFile. It
worked for me.
I believe there is a bug in the native methods used in decodeStream and
decodeFile. BitmapFactory.decodeFileDescriptor uses different native call:
nativeDecodeFileDescriptor() than the others.
------------------------------------
Original issue reported on code.google.com by charle...@gmail.com on 22 Sep 2011 at 8:33
Original issue reported on code.google.com by
charle...@gmail.com
on 22 Sep 2011 at 8:33