title: Downloaded file from Android App not visible in Downloads directory
body: <p>I am in process of developing an app wherein I am downloading pdf files from a remote server. I am so far successful in downloading the PDF files on my phone via the app. The problem that I am facing is that the downloaded file is not visible in the Downloads directory on my Galaxy Nexus. When I use the file manager app I can see the file there and it opens up real nice. </p>
  
  <p>I tried using the following options in my code but none of them seems to solve my problem (both these options successfully download the file and its visible in the file manager) :</p>
  
  <pre><code>outFile = new File(Environment.getExternalStorageDirectory() + "/" + fileName);
  </code></pre>
  
  <p>And</p>
  
  <pre><code>outFile = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), fileName);
  </code></pre>
  
  <p>Can someone please help me with some clues ? Any hint or clue will be of great help.</p>