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
1
vote
1 answer

In Android Studio Pdf/.doc file is corrupted after downloading it from Download Manager

1) After downloading a .docx/pdf file in android studio through download manager it shows me a message "Unreadable content in file. Do you want to recover it?" 2) But when i download a jpg or a mp3, it works fine. My code: private long DownloadData…
1
vote
2 answers

How to get downloaded file name from DownloadManager

I have two fragments in a tab view layout. I am working with WebView() and DownloadManager() to download a file. My file is downloading perfectly but the downloaded file doesn't have the original file name. This is my problem. How do I get the…
Nitol Neel
  • 11
  • 1
  • 5
1
vote
3 answers

Webview Download listener never calls

Download listener never calls and I am also not getting dynamic download link. I have one website that contain Download button, while clicking on button it generates download link for document, while I click on download button it will successfully…
Nik
  • 1,991
  • 2
  • 13
  • 30
1
vote
2 answers

android download manager download file once

I have below codes that when button clicked start download file, but the problem is when i click button multiple times it keep downloading the same file multiple times.How can i prevent that? which code should i add and where ? Button…
1
vote
0 answers

How to download files in webview..?

My app would open browser to download files,but I want it to download in webview(Don't open browser to download). I'm not good at app,plz give me complete codes as you can. using System; using Android.App; using Android.Content; using…
Y2H
  • 33
  • 1
  • 8
1
vote
0 answers

IDM not getting displayed in youtube

I'm using the IDM version 6.05 and the download option does not occurs in youtube after I switched to the crack version So how shall I resolve it?
1
vote
2 answers

Setting Request Property in DownloadManager request

I have been using a urlconnection a background service to download files in my application. The request requires a token which should be passed to the server for permission to be granted. The code works fine. Here is a snippet.. URL url =…
Kenneth Ngedo
  • 75
  • 1
  • 13
1
vote
0 answers

Download manager library for android with queue

I need a download manager library for android with the queue and the queue must be changeable dynamically. I searched a lot, but all the libraries I found are either not supporting queueing or the queue cannot be changed dynamically.
ali johar
  • 13
  • 5
1
vote
0 answers

Download Manager On IntentService or Service

Is possible to use download manager inside an intent service or normal service? any example? Download manager is a service but i need to implement it inside a service or intentservice. Any ideas??
1
vote
2 answers

cannot downloads file using python socket programming

i want to download a file from this url (http://justlearn.16mb.com/a.jpg) using python sockets only and i dont know how to do it as i am a novice in python. Actually my main goal is to download files in half part using wifi connection and other half…
1
vote
0 answers

Batch HTTP download standard

I have multiple files available on HTTP server which users can download and I want to provide a single download link which will allow the user to one click download multiple files (using just web browser or download manager). The files are very big…
MJar
  • 741
  • 9
  • 26
1
vote
0 answers

DownloadManager: How to check when a new download started from queue

I want to enqueue several files to a downloadmanager's queue, and be notified when a new download starts so I can do something at that moment. I see that it broadcasts an intent when a download has completed, but not when one has started. How can I…
kace91
  • 821
  • 1
  • 10
  • 23
1
vote
0 answers

How to join downloaded file parts

So , I am trying to download a single file in parts using the Python Threading module and requests to download. Now the thing is I am able to download the file into four separate parts but not able to join them. I tried using PyPDF2 to join pdf…
formatkaka
  • 1,278
  • 3
  • 13
  • 27
1
vote
1 answer

Java : File.list() returns names of complete files and not incomplete files

I have a downloading functionality module which can pause / resume current download. Let's say, i pause the functionality, change the cache location where all downloads are supposed to be stored, transfer all contents to new location and resume…
Neji
  • 6,591
  • 5
  • 43
  • 66
1
vote
0 answers

How to install DownThemAll API to my website?

I want to install DownThemAll API to my website so that my visitors can download videos from my website using DownThemAll. In order for you to understand here is the code that I want to use site, but somehow I am not able to use Downthemall API. I…
user3260312
  • 241
  • 1
  • 4
  • 9