wood burning stoves 2.0*
The moose likes Android and the fly likes Unable to get Bitmap image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Unable to get Bitmap image " Watch "Unable to get Bitmap image " New topic

Unable to get Bitmap image

Rohit Savant

Joined: Oct 30, 2012
Posts: 15

Bitmap image=getBitmap(url);
I am trying to get image from rss feed. I managed to get the data.
But the image view remains Empty.Although the program does not crash.
I think i am fetching the image in wrong manner.

Thank you for your help in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41114
You should start by not ignoring exceptions. Instead, print a stack trace to the logcat output so that you'll know if something goes wrong.

Ping & DNS - my free Android networking tools app
Rohit Savant

Joined: Oct 30, 2012
Posts: 15

Thank you for suggestion.
I wrote printstacktrace(). But there is no exception been thrown.

this is how i m setting the image.
I agree. Here's the link: http://aspose.com/file-tools
subject: Unable to get Bitmap image
Similar Threads
How to set the bitmap height at runtime
Giving path alias to network folder in server.xml
java.lang.InternalError: array size too large
Creating a new Bitmap in xml by cropping an existing image
Text to Bitmap convertion