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

The best way to download and pause ,resume a big file in android?

I need to download a big file on my app (almost 1gb) and i was wondering what is the best way to do that and some libs to help me. First I looked the Android Asynchronous Http Library but I didn't find examples showing how to publish the progress or…
4
votes
2 answers

Download zip file using download manager

I want to download a zip file from a particular zip link and then unzip that zip file in android.What should i do? Can I use android download manager?
Anu
  • 1,303
  • 3
  • 23
  • 38
4
votes
0 answers

Request on DownloadManager is always queued

We use DownloadManager to download mbtiles from server. I've downloaded 2 files successfully, but now every time I start download download animation in status bar appears, then quickly disappears. When I open downloads app I see my download with…
earsonheart
  • 1,042
  • 2
  • 12
  • 25
4
votes
1 answer

show ProgressBar or Dialog from an IntentService for download progress

I have an activity with a "download" button which fires up DownloadManager implemented in an IntentService. Everything is working just fine and my question is: Is it possible to display ProgressBar or ProgressDialog from my DownloadService (which is…
venta7
  • 169
  • 5
  • 13
4
votes
1 answer

Android DownloadManager: How can I get the response headers?

Here is the response's header: HTTP/1.1 200 OK Cache-Control: private Content-Length: 37888 Content-Type: application/octet-stream; charset=utf-8 Server: Microsoft-IIS/7.5 Set-Cookie: ASP.NET_SessionId=g4tidw45yqwztc55nv0zdu55; path=/;…
jxdwinter
  • 2,339
  • 6
  • 36
  • 56
4
votes
1 answer

Android: Cannnot save data downladed from server using DownloadManager to internal memory

I am downloading data from server using the DownloadManager class in android. Data are saves to the external memory. But I want to save them to the internal memory. I did my researches and what I've found is from this link. I tried the second…
b.i
  • 1,087
  • 4
  • 22
  • 43
4
votes
1 answer

Android: download file from internet using DownloadManager and save it to the internal memory

I am downloading a file from the web to my Android device using DownloadManager. I am saving this file on the sdcard using: DownloadManager.Request req = new DownloadManager.Request(Uri.parse("file path")); req.setTitle("file…
user1471575
  • 731
  • 2
  • 15
  • 23
4
votes
1 answer

DownloadManager Deletes File On Completion

I have an app that downloads files using Android's DownloadManager to a folder on the external file storage (SD card). This normally works fine, but there are some sources that cause the DownloadManager to trash the file when it finishes…
Jeffrey Fate
  • 93
  • 2
  • 5
3
votes
1 answer

How do I make my website work with download managers?

My website requires a user to login before downloading files, I wish to add support for download managers such as Orbit and Free Download Manager. I have tried downloading a file using these managers and entering the user name and password inside…
cwal
  • 3,732
  • 3
  • 19
  • 20
3
votes
1 answer

Is it possible to clear download manager app data through code from our application in Android

I would like to clear both cache and data of default download manager app through code. Is it possible? I need this because manually clearing download manager data is giving more successful downloads from my app. Is it possible to delete cache or…
Ganesh K
  • 2,623
  • 9
  • 51
  • 78
3
votes
1 answer

Downloading a file using multiple connections and multihoming

I am a student in my fourth year in university. My graduation project is a download manager which i intend to code with C#. when checked the MSDN documentation the project looked easy. But the problem is that my teacher wants me to incorporate…
Ahmad Moussa
  • 1,296
  • 18
  • 22
3
votes
1 answer

DownloadManager Import Error

I'm trying to implement a code with DownloadManager but I have an import error: The import android.app.DownloadManager cannot be resolved Do i have to add anything to the project in order to use this library?? Thank you very much, Lucía
Lucia
  • 614
  • 1
  • 9
  • 30
3
votes
2 answers

how to Get a list of applications being download?

In my application, I need to know if a particular app is being downloaded from the android market or not. How Do I achieve this functionality? Is it possible to get a list of all the downloads that are in progress?Does the android market broadcast…
3
votes
1 answer

Watin 2 and IE 9 Download Manager

Has anybody got their Automation using Watin 2 (latest release) work with IE 9 Download Manager? Some of the issues I am facing are: 1. Cannot grab the control ids of the button on the Download Manager (Save, Save As...) using Dev Toolbar which…
3
votes
2 answers

Getting java.lang.SecurityException: Unsupported path. But I am asking for permissions

I am downloading files using DownloadManager to a directory, that isn't apart of my "local packages" directory, i.e. outside /storage/emulated/0/Android/data/myPackageName/, but part of another directory's package, more specifically, obb directory,…
ordep mgb
  • 63
  • 1
  • 7