I require to download files using HTTPS, but it seems that standard DownloadManager doesn't support HTTPS, only Http.
I've made some resarch and found just one topic about it, but it doesn't help me too much. alvinsj from that topic(https://github.com/alvinsj/android-https-downloadmanager-demo) suggesed a solution where he just amended the check in source code:
if (scheme == null || !(scheme.equals("http") ||scheme.equals("https"))) {
throw new IllegalArgumentException("Can only download HTTP URIs: " + uri);
}
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!
Thanks