title: Https android download manager
body: <p>I require to download files using HTTPS, but it seems that standard DownloadManager doesn't support HTTPS, only Http.
  <p> I've made some resarch and found just one topic about it, but it doesn't help me too much.
  alvinsj from that topic(<a href="https://github.com/alvinsj/android-https-downloadmanager-demo" rel="nofollow">https://github.com/alvinsj/android-https-downloadmanager-demo</a>) suggesed a solution where he just amended the check in source code:</p>
  
  <pre><code>if (scheme == null || !(scheme.equals("http") ||scheme.equals("https"))) {
              throw new IllegalArgumentException("Can only download HTTP URIs: " + uri);
  }
  </code></pre>
  
  <p>It looks not correct to me because even though it would work it will not be sequre.
  I really need your help! Some examples, thoughts will be much appreciated!
  <p>Thanks</p>