aspose file tools*
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
Author

Unable to get Bitmap image

Rohit Savant
Greenhorn

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
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
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
Greenhorn

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: http://aspose.com/file-tools
 
subject: Unable to get Bitmap image