This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
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: 21

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: 42956
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.
Rohit Savant

Joined: Oct 30, 2012
Posts: 21

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:
subject: Unable to get Bitmap image
jQuery in Action, 3rd edition