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

Message from DownloadManager in closed NotificationBar in Android

I am using DownloadManager to download a xml file from a URL. It works fine but I have two questions: 1.) How can I show a message about the download in the closed notification bar? I can show a message when I open the bar like shown in this…
1
vote
1 answer

Downloadmanager request status change notification

I haven't found any info about that. Is it somehow possible listen for downloadmanager request status changes? I queue few files for download and I display it in list with download state. I receive broadcast only on…
Martin Vandzura
  • 3,047
  • 1
  • 31
  • 63
1
vote
3 answers

Does phonegap have access to the Android DownloadManager class?

I have successfully downloaded a file using the phonegap download method. I am downloading the file to local storage in the Download folder on my android phone. I would like to have some kind of notification from the Download Manager that a file has…
squistbe
  • 305
  • 1
  • 3
  • 18
1
vote
1 answer

Android: show a download progress bar as in DownloadManager

I want to download file from a server and show the progress in a notification progress bar as when using the DownloadManager class. I don't want to use the DownloadManager class because it only can save to external memory while I want my file to be…
user1471575
  • 731
  • 2
  • 15
  • 23
1
vote
1 answer

Adding Cover Art to downloaded mp3 on Android

How do I add a cover art (album art) to a downloaded mp3 programmatically? I am letting my app download a mp3 file via the DownloadManager from the Android APIS as shown below: private void startDownload(){ Uri uri =…
sn0ep
  • 3,843
  • 8
  • 39
  • 63
1
vote
0 answers

Android: Error installing an apk from Downloads folder

I am downloading files from server using the DownloadManager class as mentioned here. The image downloaded can be accessed from the Downloads folder on android. When I click the downloaded image from the Downloads, the image is displayed. But if it…
b.i
  • 1,087
  • 4
  • 22
  • 43
1
vote
1 answer

Can i use DownloadManager class in api level lower than 9?

I want to download file from internet in my Android application. I have used DownloadManager class and it works correctly on Gingerbread and above, but not on Froyo and below. How can i use DownloadManager in api levels lower than 9?
Amit Jayant
  • 2,501
  • 2
  • 29
  • 38
1
vote
1 answer

Android DownloadManager error

I'm trying to use Android DownloadManager class this way: super.onCreate(savedInstanceState); setContentView(R.layout.main); Request r = new…
aplavin
  • 2,199
  • 5
  • 32
  • 53
1
vote
0 answers

Download manager & Form Authetification in MVC

We are providing our s/w for public downloads. Customers can download the s/w using the download manager using the below link its working fine. www.example.com/downloads/setup.exe Recently we have changed the process like if someone click on the…
Velu
  • 887
  • 4
  • 14
  • 30
0
votes
1 answer

creating a http multiple file downloader in WPF

I am creating a file downloader in wpf which downloads from a list of files given to it and shows a progress bar for the individual download going on....the list may be upto 1000 files. I have got all the code and specifics worked out but am stuck…
0
votes
1 answer

Android download history

is there any way to know through code what are all download requests I made in past and their download status. i.e simply I want to know download history. Note: Download requests can be made from browser or from any other apps Thanks in Advance…
Ganesh K
  • 2,623
  • 9
  • 51
  • 78
0
votes
1 answer

Download manager code is working in older device and not in latest device

Below is my code which i integrated to download the video(.mp4) functionality. This code is working in my Android 8 device. The same code is not working in latest Android version. May be i am missing something or is there any deprecation issue? val…
0
votes
0 answers

RNFS.unlink identifies file but does not delete it

I am using react-native-fs library in my react native app. I am using RNFS.unlink to delete an existing file. I noticed an issue. When I use RNFS.unlink to delete a file which has been downloaded by my app in the phone, it deletes the file…
K J
  • 11
  • 3
0
votes
0 answers

I want to display a pdf received as an attachment from a POST call response in android webview without downloading in storage folder

I am getting a pdf document as an attachment from a POST call. But I am not able to display the pdf in android webview directly. I could download the file in local storage. But due to security reasons, instead of downloading it, I need to display it…
0
votes
0 answers

Can we forcefully resume the download manager in android that is paused

I have a working download manager implementation here - complete source code The problem I am facing: Sometimes because of connectivity issues, The download manager gets paused It gets resumed after some time on its own, sometimes it takes a lot of…
Devrath
  • 42,072
  • 54
  • 195
  • 297