Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FAILED BINDER TRANSACTION

 
Greenhorn
Posts: 14
Firefox Browser Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Whatever. Here's a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic