Questions tagged [download-manager]

A download-manager is often used for handling long-running downloads, and might support pausing, interrupting and resuming.

The download manager will conduct the download in the background, taking care of HTTP interactions and retrying downloads after failures or across connectivity changes and system reboots.

465 questions
0
votes
0 answers

Android Studio download music youtube video

I try to make a youtube video downloader, I use android-youtubeExtractor from https://jitpack.io, it's work with all video except music and video who can't be display in embded like : https://www.youtube.com/embed/q2c7Ie1Sz1Q. That's my code…
0
votes
1 answer

How to get WRITE_EXTERNAL_STORAGE Permission in Adapter?

i want to download image from remote url , and i need to get user persmission to save image, but i am unable to do that in GridAdapter.java file , this is not working in adapter: requestPermissions((Activity) context,new…
0
votes
0 answers

Download Manager video cannot be played

I am using the following code DownloadManager downloadManager = (DownloadManager) context.getSystemService(DOWNLOAD_SERVICE); Uri downloadUri = Uri.parse(post.vUrl); DownloadManager.Request…
0
votes
1 answer

How to open built-in download manager in android

Hy guys can u please tell me how can I open the default download manager of my android device on the button click in android. I don't know what can I do on button click please suggest. case R.id.download1: break;
Akshit
  • 7
  • 1
  • 2
0
votes
2 answers

Downloaded file does not appear in downloads folder (android Q)

I've been searching for a long time now for a solution but I still didn't find the right one. My problem is... when downloading a file with Android lower than Q, there is absolutely no problem and the file appears in the download folder. But when…
Hyperon
  • 69
  • 1
  • 7
0
votes
1 answer

Android DownloadManager always pending in AVD

My app uses DownloadManager to download a file , it works perfectly in my real phone. But downloading is always pending in AVD, it never starts to download. I'm using Android Studio 4.0.1, and I have created several AVDs, none of them works. In the…
dzk
  • 1
  • 2
0
votes
0 answers

Download Manager not working right - nothing happen after click download button

I have problem like in title: Download Manager not working right - I want download file .apk but after click button nothing happens. In logcat I have no errors or warrnings, it not works on emulator and phone as well. I tried all examples from…
0
votes
0 answers

How to get missing content length for a file from url?

I am trying to write a simple download manager using python with concurrency. The aim is to use the Content-Length header from the response of a file url and splits the file into chunks then download those chunks concurrently. The idea works for all…
Eka
  • 14,170
  • 38
  • 128
  • 212
0
votes
0 answers

How can I download several thousand files from a page that requires specifications?

I'm a marketing researcher looking to analyze temperature data from every county across the US, there are ~3200. The site from which I want to download data requires the user to enter info into drop down menus as well as writing in text to specify…
0
votes
1 answer

Integrating a download manager to PHP script

I'm using PHP and my script outputs a list of links for files that can be downloaded by the user. To download each file, as a user I would have to copy the url and paste it into something like Free Download Manager. I would like to improve the user…
sameold
  • 18,400
  • 21
  • 63
  • 87
0
votes
0 answers

Cannot download file from S3 using DownloadManager

Is there a way to download a file from S3 using Android DownloadManager? When i tried downloading using retrofit, i had to verify hostname, for the url to work. Using DownloadManager, how can i achieve this? The url looks like…
0
votes
1 answer

How to check for long download of data in Xamarin.forms C#

I am working on a task where we display an ActivityIndicator on users phone when the data is being downloaded. Now the current ActivityIndicator displays a label "Loading..." when the background downloading in running. But I need to update the label…
Naphstor
  • 2,356
  • 7
  • 35
  • 53
0
votes
1 answer

YouTube video Downloader python

I made a youtube video download Manager. It download a video but i am facing one issue when i download same video, it doesn't download it again. how can i download it again with same title like pic.png and send pic1.png. How can i do that? def…
0
votes
1 answer

Automatically Retry aria2c download for using in a script

I am working on a python script, in which I webscrape download links, and then download them one by one using aria2 downloader 'aria2c.exe' like this: import os #... for downloadLink in someList: os.system("aria2c -x 5 " + downloadLink + " -o "…
Ali Sajjad
  • 3,589
  • 1
  • 28
  • 38
0
votes
4 answers

What are java (android) alternatives to deprecated AsynkTask for downloading file?

What are alternative approaches to Download file other than AsyncTask - need to replace asynctask as it is deprecated. Thanks in advance.
Mayank Kumar Chaudhari
  • 16,027
  • 10
  • 55
  • 122