Is there any limit to use inJustDecodeBounds? When my picture is
small enough, it works well, but it will report "failed binder
transaction" in logcat when the picture size is larger than 100k. I
have not use any binder, and it works well even the bitmap size is 1M
before using Options argument.
Set the Options.inJustDecodeBounds to true and call the
BitmapFactory's method to get/decode your bitmap. The bitmap returned
will be null, but the Options.outWidth and Options.outHeight will be
set to the image's width and height in pixels.
Then call the BitmapFactory's method to get/decode you
2 matches
Mail list logo