Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FAILED BINDER TRANSACTION

 
Ravi Delogico
Greenhorn
Posts: 14
Firefox Browser Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ravi Delogico
Greenhorn
Posts: 14
Firefox Browser Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic