How to use AsyncTask in an Android app

view full story

http://stackoverflow.com – Iam all stuck with the AsyncTask, confused with the params,progress,result should I put.In my application I need to display images in the gallery.The url consist of all the images.Iam fetching these image urls via JSON.save the response in an arraylist and pass it to the new activity.However, I am able to save the JSON response in the arraylist named "image_urls".As Iam new to android, Iam confuse what params should be put in background and in asynctask.Thanks in advance. Following is the separate class which I have created, In doInBackground Iam fetching the reuired items using JSON.I am c (HowTos)