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
2 answers

How can I write test driven java class for download manager?

I am developing a Download Manager using with UP Design.In this Elaboration iteration, my main use case:download the file.Here is the Download.java public class Download implements Runnable { // Max size of download buffer. private static final…
ntf
  • 1,323
  • 2
  • 12
  • 17
0
votes
0 answers

Download file to external public storage without knowing the filename

My HTTP-server allows downloading files with a 'dynamic' url: e.g. http://myserver.com/query?id=12345 which will give me my_song.mp3. The filename is indicated in the content-disposition header. Downloading this kind of file with Android…
Paul Praet
  • 1,367
  • 14
  • 25
0
votes
1 answer

How can I increase the speed of my download manager program?

I am writing a download manager program.And In my program the urls are downloaded in a normal speed.How can I increase the speed of the downloads?Is it about HTTP 1.1 or is there an algorithm to do this job?
ntf
  • 1,323
  • 2
  • 12
  • 17
0
votes
1 answer

Android DownloadManager - Is there a way to be notified when a user deletes a download from the UI?

I cannot find a way to be notified when a user cancels a download in the system's DownloadManager UI: I know that it is possible to set a BroadcastReceiver for downloads "completed" or "clicked", via the dedicated intent…
dentex
  • 3,223
  • 4
  • 28
  • 47
0
votes
2 answers

Is it possible that two BroadcastReceiver from two apps, based on the same broadcast intent action, somehow "collide"?

I have a BroadcastReceiver inside a service: public class NotificationClickService extends Service { private static final String DEBUG_TAG = "NotificationClickService"; @Override public IBinder onBind(Intent intent) { // TODO…
dentex
  • 3,223
  • 4
  • 28
  • 47
0
votes
1 answer

Download manager crashes on On DOWNLOAD COMPLETE

This is my broadcast receiver: BroadcastReceiver broadcast = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { String action = intent.getAction(); if…
rosu alin
  • 5,674
  • 11
  • 69
  • 150
0
votes
1 answer

Hosting big files for users

We need to be able to supply big files to our users. The files can easily grow to 2 or 3GB. These files are not movies or similiar. They are software needed to control and develop robots in an educational capacity. We have some conflict in our…
mfriis
  • 217
  • 3
  • 17
0
votes
1 answer

Needs some help debuging. Images downloaded by DownloadManager disappears suddenly

I have very mysterious problem that I am not even sure how to debug. What I am trying to do in my application is to download Images and present them in a gallery. But from time to time they simply disappears (not all of them). Even when I am not…
wonglik
  • 1,043
  • 4
  • 18
  • 36
0
votes
0 answers

ios - Showing a Download progress UIViewController

After implementing the HCDownload for iOS into my app I am successfully able to display the downloading progress of a file. The problem is that the guy who wrote it, didn't use Xcode to write the module, so even though it should, it does not really…
jwknz
  • 6,598
  • 16
  • 72
  • 115
0
votes
1 answer

How to make a file downloader in C#?

I want to code a simple file downloader in C#. I want to know how it works? eg. If I give it a URL, what will it do? I have a very rough idea about it. It will send a HTTP request. The server will reply and send the file. The downloader will get…
narayanpatra
  • 5,627
  • 13
  • 51
  • 60
0
votes
1 answer

ASIHTTPRequest multiple downloads control like pause, resume

I am using ASIHTTPRequest to download video file from URL in background. I am displaying the downloads with progress-bar & percentage and I want user can control the downloads like pause & resume. Below is the code: …
0
votes
3 answers

ProgressBar during download with DownloadManager and sleeping thread in Android

I use the DownloadManager to download a xml file from a URL. Then I use a Thread to wait 2 seconds to complete saving the file to the sd card. I would like to have a activity circle as shown here. What is the easiest way to realize this? Do I need…
Mokkapps
  • 2,028
  • 9
  • 42
  • 67
0
votes
1 answer

Download manager that can continue download

I have a file half-downloaded. Do you know a download manager that can continue the download without loading the part I already loaded? Is this possible with HTTP?
eflorico
  • 3,589
  • 2
  • 30
  • 41
0
votes
1 answer

Taking control of downloads without using Browser Extensions

I've seen download manager programs including IDM taking control of downloads in browsers without having extensions in them and they are calling it (Advanced Browser Integration). I was wondering if anyone can suggest an approach for a similar…
Abcd Efg
  • 2,146
  • 23
  • 41
0
votes
1 answer

DownloadManager for Android to update progressbar

I was wondering if anybody knew how to update progress Bar in the application while attempting to download file using download manager for android? Please share your ideas. Thank you in advance.
vinay kumar
  • 1,451
  • 13
  • 33