title: Download file to phone with and without sdcard
body: <p>I am novice programming android. I want to write a simple application that gets updated. For this I use a simple function that can download a file and show the current progress in a ProgressDialog and I store the file in the phone´s Sdcard like this:</p>
  
  <pre><code>output = new FileOutputStream("/sdcard/file_name.extension");
  </code></pre>
  
  <p>It would be some problem with the phones that not have SdCard? How can I solve it to work in any phone? Thank you.</p>