Updating the Progress Bar in the list view

view story

http://stackoverflow.com – I have a scenario, In my chat application I want to send photos, photos sending takes time. I have attached a progress bar( horizontal) to show the progress of sending the photo in my application. But I am unable to update the progress bar as it is the item of the custom list view. Here is my asynchtask to set the progress for Progress Bar but I am not able to get it. class SendPhotoToFriend extends AsyncTask<String, String, String>{ String receiver,path = ""; public SendPhotoToFriend(String path,String receiver) { // TODO Auto-generated constructor stub (HowTos)