Aspsine / MultiThreadDownload

Android Multi-Thread Download library
908 stars 284 forks source link

video download #99

Open hardikkarkar opened 7 years ago

hardikkarkar commented 7 years ago

How can i download video file using mulithreaddownload?

salehmosleh commented 6 years ago

like other files , just use video direct links. just like this :

  final DownloadRequest request = new DownloadRequest.Builder()
                    .setName("videoname.mkv")
                    .setUri("http://examplelink.com/downloadlink/video.mkv")
                    .setFolder(mDownloadDir)
                    .build();
            RequestCallBack req = new RequestCallBack(getApplicationContext());
            mDownloadManager.download(request, "download-primary-tag", req);