title: Download a pdf file and save it to sdcard and then read it from there
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8383537/download-pdf-from-url-and-read-it">Download PDF from url and read it</a>  </p>
  </blockquote>
  
  
  
  <p>I have to download a pdf file from an url and save it to the sd card and then to read it.
  I got through many codes and i found this</p>
  
  <pre><code>Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("*url for your pdf*"));
  startActivity(browserIntent);
  </code></pre>
  
  <p>but how to save it in sd-card in my desired path and then read it from there.</p>