In my application I am showing gallery view and when user click on an image, I open a new screen (calling new Intent) and passing my image path to that Activity.
Here I am setting this image in a webView. (I chosse webView because it provides zooming. before that I was setting it in the imageView). Now In this webView, I am simply loading URL of the image and thus it is setting.
But now I am seeing that if my image size is 480*800 then also its not getting displayed. Even though I am setting my AVD size to 480*800 (manually). Everytime I am getting
FAILED BINDER TRANSACTION
So what is the solution for this please guide me. NOTE: client wants zooming and image should not be resized.
I was setting bitmap of the image in . And that was the problem. So if you need a bitmap then also you must not pass it as an Extra instead just pass image path OR URI and make the bitmap in your activity where you are displaying it.
I forgot to remove when I was displaying it in Image View. Now in Web View it is not needed.
My, my, aren't you a big fella. Here, have a tiny ad: