Concurrent Downloads in an Android App (in Activity)
<p>I am a new Android developer and I am trying to do the following in my app. </p>

<p>Given a URL, I want to get the html for that URL, parse for images in the HTML source and download them concurrently (may be 2-3 threads in parallel). I am doing the actual HTML/URL download in an Async Task in my Activity. After that I parse the HTML and I have the list of image urls. At this point, what is the best way to have multiple threads loop through these image urls and download them? Please suggest or provide an example. I tried looking for a blocking queue with multiple threads and also 'Looper' but am still confused on how to achieve this.</p>

<p>Thank you.</p>
