Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to get Bitmap image

 
Rohit Savant
Greenhorn
Posts: 21
Fedora Java ME Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 21
Fedora Java ME Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for suggestion.
I wrote printstacktrace(). But there is no exception been thrown.



this is how i m setting the image.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic