title: Download .txt file from internet
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8645166/file-download-with-android">File download with android</a>  </p>
  </blockquote>
  
  
  
  <p>How do I download a .txt file from the internet at a given URL and save it to the phone in Android? It can be saved to either internal storage, SD storage, or anywhere really accessible for the app to use.</p>
  
  <p>The URL I have been using for testing with loading URL WebViews is <a href="http://base.google.com/base/products.txt" rel="nofollow noreferrer">http://base.google.com/base/products.txt</a></p>