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
3
votes
0 answers

Download manager download failed the file does not downloaded to destination

I am trying to download image which is coming from api.I am using rn-fetch-blob package to download file. But the problem here is when i click on download file do get downloaded but it gives some error saying Download manager donwload failed , the…
aditya kumar
  • 2,905
  • 10
  • 39
  • 79
3
votes
1 answer

How to download multiple images from urls in a single process?

I create app for download multi images, from url, the problem is when download all images (there's 3000 images) its multi process, not single process. Single process I mean download and then save, download and then save and so on. It's possible to…
3
votes
1 answer

How to programatically remove notification in download manager android

I have implemented DownloadManager in an activity. Download works fine. But this class will automatically create a notification which stays in status bar. Is there a way to remove this notification. Below is the code: Uri uri = Uri.parse(url); …
madhuri H R
  • 699
  • 1
  • 10
  • 26
3
votes
1 answer

Error receiving broadcast Intent on DownloadManager DOWNLOAD_COMPLETE Broadcast receiver

I'm getting following error when I try to get status of the downloaded file from the Android Download manager. E/AndroidRuntime: FATAL EXCEPTION: main Process: com.purelightaudio.healer, PID: 24201 java.lang.RuntimeException: Error receiving…
3
votes
1 answer

Android Oreo (API26) and android.app.DownloadManager

Folks! This code doesn't work on Android Oreo (but ok on older versions, I can see notifications and the DownloadManager.ACTION_DOWNLOAD_COMPLETE broadcast message). Kotlin testButton.setOnClickListener { val downloadManager =…
3
votes
6 answers

How do you detect if a file is being downloaded by a Browser or a Download Manager

I am curious as to how the file sharing sites like rapidshare detect users downloading files through download managers. How do you enable an ASP.NET web application to prevent downloads from a download manager.
ashwnacharya
  • 14,601
  • 23
  • 89
  • 112
3
votes
2 answers

Good download manager for Drupal?

I'm looking for a download manager module for Drupal. Ideally, it would give the same sort of power that the Sourceforge manager or the Drupal theme download manager gives. That is: Multiple download objects, with descriptions Each type has…
Branan
  • 1,819
  • 15
  • 21
3
votes
0 answers

Android DownloadManager stucks on "Queued" on kitkat device

I'm trying to download pdf file, via DownloadManager. Here is method to handle it: public static final String MIME_TYPE_PDF = "application/pdf"; public static void downloadData(String url, Activity activity, String fileName, String mimeType) { …
3
votes
1 answer

Android - DownloadManager: "Missing request for path"

I'm creating a DownloadManager.Request like this: DownloadManager.Request request = new DownloadManager.Request(url); request.setDescription(fileName); request.setTitle("Title"); request.setDestinationInExternalPublicDir(sourceDir,…
Pepa Zapletal
  • 2,879
  • 3
  • 39
  • 69
3
votes
1 answer

iOS App rejected, how to get permission for downloading contents all over the Internet?

Apple: - 2.3 LEGAL: INTELLECTUAL PROPERTY - AUDIO/VIDEO DOWNLOADING I'm building a video downloader app which basically use UIWebView and user can surf the internet and download videos from almost everywhere. App review team is asking me to…
3
votes
1 answer

Android: How to refer to the file downloaded by DownloadManager

I have used the Download Manager Class to download a text file, the code that I download the file is: private long enqueue private DownloadManager dm; String server_ip = "http://192.168.0.1/"; Request request = new Request(Uri.parse(server_ip +…
eepty
  • 716
  • 3
  • 10
  • 28
3
votes
2 answers

Parsing Error on downloading and running an .apk file

I have a feature in my app which allows the user to download a new version. But my problem is when I start the intent which should start the installation proccess there is a message: Parse error. There was a problem parsing the package This is my…
3
votes
0 answers

WinHttrack User Defined Structure - Relative files in relative folders - Remove query strings

I have two questions. Question 1: Is there any way I can download the website based on the following structure using winhttrack? All of the html files go into site_name/ All of the images go into site_name/images All of the css files go into…
Awais Umar
  • 2,027
  • 3
  • 27
  • 46
3
votes
2 answers

Android DownloadManager Fails with unrecognized reason 400 (when file name contains whitespace?)

I'm developing an Android app where I use DownloadManager to download files. It's able to successfully download certain files (eg. JPEG, MP3), but it's unsuccessful for others (eg. PDF). I'm not certain it's related to file type. I registered a…
E.Yuen
  • 33
  • 1
  • 4
3
votes
0 answers

Why downloaded path is different from initial path on Android M using DownloadManager?

The code below works fine for Android < 6.0 Downloading: DownloadManager.Request request = new DownloadManager.Request(downloadUri); // Remove all whitespace and more char. String fileName = pPackageBean.getSaveAsName().replaceAll("\\s+",…