title: Downloading multiple files simultaneously in Android applications
body: <p>I'm writing an application for Android which let users browse a list of files and download them.
  For every download, I created a thread and I download the file with an HttpURLConnection instance (by reading from the connection in a while loop).</p>
  
  <p>This method works fine with one active download. But when user starts more than one, download performance degrades dramatically. Most of the time, these parallel downloads consume all the bandwidth and the users is unable to browse files (which uses another HttpUrlConnection to load the files list).</p>
  
  <p>Any suggestions on refining the download system?
  Thanks.</p>
  
  <p>P.S.: The method that popular browsers such as Google Chrome and Firefox do seems good. Anyone knows how they work?</p>