title: Android : Download a single file in many parts
body: <p>I developing an application like Internet Download Manager for Android. </p>
  
  <p>I want to know how to download different parts of file in Android as it is done in IDM. </p>
  
  <p>How can I get the metadata of file before download and how to download files in parts?</p>
  
  <p>There is no username-password or any restrictions in downloading... just simple download by url.</p>