title: Downloading to download folder in Android
body: <p>I have a webview in my app. One of my pages has a link to a mp3 which I should download directly from my app, so using a downloadlistener like this:</p>
  
  <pre><code>mWebView.setDownloadListener(new DownloadListener() {
  
  
              public void onDownloadStart(String url, String userAgent,
                      String contentDisposition, String mimetype,
                      long contentLength) {
  
  
  
                Intent i = new Intent(Intent.ACTION_VIEW);
                i.setData(Uri.parse(url));
                startActivity(i);
              }
          });
  </code></pre>
  
  <p>is not good for me, because it launches the default browser before actually donwloading the file. </p>
  
  <p>Is there any way I can manage the download myself, to the OS download folder, so that it appears when user goes to the "Downloads" option in the Android menu?</p>