Forums Register Login

FAILED BINDER TRANSACTION

+Pie Number of slices to send: Send
Hi All,

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.
+Pie Number of slices to send: Send
SOLVED...

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.
There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 12876 times.
Similar Threads
Converting an image into grayscale
Uploading an image in WebView
startActivityForResult doesn't work in a Fragment
how to set images from horizontal scrollview into the viewpager in android?
Camera Issues *Fixed : Working code for camera + picture inside*
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:57:04.