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

Android's DownloadManager alternative on iOS

I'm porting an Android Application on iOS, in the android application I'm downloading big files (150+ MB) but i found that there are no evident alternatives on iOS. In the android application, the download continues even if the application is closed…
Luca Vitucci
  • 3,674
  • 4
  • 36
  • 60
1
vote
0 answers

Jsoup and DownloadManager Error in Android

I use Jsoup and Download Manager in my app. DownloadManager cannot download when I use Jsoup. When I give a url to DownloadManager directly,it does.I am sure that Jsoup works perfectly.I mean the problem is internet connection or http connection…
Erkan Erol
  • 1,334
  • 2
  • 15
  • 32
1
vote
2 answers

im not getting default file name when i download

i have created a webview app i added downloader inside which download the file end with m4a..the app downloads the file but file name changes...how can get title from the file... public boolean shouldOverrideUrlLoading(WebView view, String url) { …
Vinod
  • 95
  • 1
  • 11
1
vote
1 answer

Android Download Manager - can't know size of download

I´m having issues trying to download files from the server on a WebView based app. This code actually works on a Galaxy S4 with android 4.4.2 but doesn't work on a Nexus 5 with the same version of Android. @Override public boolean…
rodeleon
  • 362
  • 3
  • 18
1
vote
2 answers

PDF file is not getting open after downloading by Download Manager

I am implementing Download Manager in my app i wanted to open the pdf file after downloading by Download Manager. File is getting downloaded but not getting opened. I am not able to figure it out whats wrong in my below written code. import…
1
vote
1 answer

Download Manager to download a file

Hi all i am very new in Android development. I want to download a pdf file by using Download Manager. I want that once its get downloaded i can open it by notification. how can i do this. I have url. I don't know where i am doing wrong. Below is my…
1
vote
2 answers

Android download manager file size not getting properly

i am using download manager for downloading a file. In order to show download progress i need file size. When i used the following code , I got file size as -1. How i get correct file size? DownloadManager.Query q = new…
Anu
  • 1,303
  • 3
  • 23
  • 38
1
vote
1 answer

Downloading files using download manager in C#

I am creating download manager in C#.I am currently designing download component that given URL, download files from the URL in segments.I am currently using I/O streams for each chunks as shown below: MyChunks.InputStream = rs ; //rs is…
Chirag Rupani
  • 1,675
  • 1
  • 17
  • 37
1
vote
0 answers

Why do I get conflicts when I am downloading the same files in Android by using Download Manager?

When I am downloading the mp4 video Files using Download Manager, its getting downloaded. After Downloading process is completed I could be able to play the mp4 video Files. In my app, I given the Title name is, File Downloader and video file name…
Achiever
  • 1,626
  • 10
  • 30
  • 54
1
vote
2 answers

java.lang.NoSuchMethodError: android.app.DownloadManager$Request.setNotificationVisibility

Trying to use DownloadManager like so DownloadManager.Request request = new DownloadManager.Request(uri) .setAllowedNetworkTypes(DownloadManager.Request.NETWORK_MOBILE) …
Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166
1
vote
1 answer

DownloadManger for Android 2.2

Android offer a DownloadManager from API 9 onwards and documentation says The download manager will conduct the download in the background, taking care of HTTP interactions and retrying downloads after failures or across connectivity changes…
Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166
1
vote
1 answer

Download manager mutiple files one at a time

I am attempting to use the download manager and sent multiple files at a time. since they are all coming from the same server (home server) it is causing some pretty substantial latency. What is the easiest way (if there is one) to send only a…
mornindew
  • 1,993
  • 6
  • 32
  • 54
1
vote
0 answers

Download manager in Froyo

I have implemented DownloadManager in my application. I knew that the DownloadManager requires minimum sdkVersion 9. But my application should have minimum sdkVersion of 8. I have used AsyncTask for download in the sdkVersion 8. For version above 9,…
Santhosh_pulliman
  • 2,119
  • 6
  • 30
  • 47
1
vote
1 answer

Resumeable file downloader C# to VB.NET

I'm trying to convert a C# script that i had found on another site: http://www.codeproject.com/Tips/307548/Resume-Suppoert-Downloading So far i have managed to convert most of it but once i run the program it creates a file of only 0 bytes. When ran…
1
vote
2 answers

How to call IDM(Internet Download Manager) from my Delphi application

The IDM offers some API for client applications : http://www.internetdownloadmanager.com/support/idm_api.html How can I do this via Delphi?
Kermia
  • 4,171
  • 13
  • 64
  • 105