This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

FAILED BINDER TRANSACTION  RSS feed

 
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.
 
What are you doing? You are supposed to be reading this tiny ad!
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!