8

how to add downloaded image to listview?

view full story
linux-howto

http://stackoverflow.com – I am trying to add downloaded images to a list view. I start out by getting the names of the image files from my server and then I do an asynctask of building the bitmaps and storing them in a Bitmap array. Then I use a HashMap to add the data using the SimpleAdapter shown below. I want to know how to add the bitmap images to the listview. Right now I am getting an error on the line where I attempt to put the itemphoto into the hastable. How do I resolve that? Do I have to move them to the drawable resources directory? I am totally new to this and will appreciate any help in getting down (HowTos)