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

Catch downloads from Chrome/Firefox/Explorer with python script

I wrote a little download manager in python, and now i want to "catch" downloads from Chrome Firefox and Explorer so they will download with it, instead of each built-in download manager of the browser itself. I want to know when each of the…
0
votes
1 answer

Firefox extension: open download link in download window

I have an extension which opens links via context menu just like built-in Open link in new tab Firefox menu (just below it; My context menu item is Download link). When a user select this option from link context menu a new tab is opened by Firefox…
Xaqron
  • 29,931
  • 42
  • 140
  • 205
0
votes
1 answer

How to Download File Using DownloadManager in API 28 or Android Pie?

Writing exception to parcel java.lang.IllegalStateException: Not one of standard directories: /storage/emulated/0/Android/data............... DownloadManager dm = (DownloadManager) context.getSystemService(DOWNLOAD_SERVICE); Uri…
0
votes
1 answer

DownloadManager Error Message when opening the file

hey guys im making this simple app to fetch apk's that are stored on a server for clients. i get the file downloaded and i want to open it to install. so the first issue is that it downloads it twice? second is i get error parsing application when…
techker
  • 189
  • 1
  • 10
0
votes
0 answers

How to set progress bar according to web service data in tableView cell Swift

I am designing download Services for all webServices to set and read data offline mode. I am saving all JSON response to SQLite to reuse when there is no internet coverage or offline mode. My webServices are dependent to each other like Appointment…
Newbie
  • 360
  • 3
  • 19
0
votes
1 answer

how can we cancel downloading task started by downloadManager

I have done this code for download progress bar but i also want to cancel that downloading task if user accidentally clicked on button. i am unable to achieve this thing .can anyone please help me out of this. Tip: i am new to android java so please…
0
votes
2 answers

wordpress, a download manager for outside URLs

I'm working on a online file library for one of my clients. It's a library for mostly PDFs and office documents. Because they are a huge amount(almost 2gb in files), I'm hosting them on another site(divshare), so that the hosting account we have…
gadget00
  • 301
  • 6
  • 18
0
votes
0 answers

download image from viewpager in which image is stored in raw file

I've made a image slider from viewPager. The image shown in viewPager is stored in raw folder inside the project of android studio. I want to request for the permission of user to download image, display progress bar when image is downloading and…
0
votes
1 answer

Download file with resume capability using aiohttp and python

I want to stream and download file using aiohttp. Chrome can support the resume capability of download link But the download manager cannot download the file with the resume capability. In the code below I used aiohttp framework to stream and…
Amin
  • 23
  • 1
  • 9
0
votes
0 answers

Download Manager with recycler view or list view

runOnUiThread(new Runnable() { @Override public void run() { rel_showProgress.setVisibility(View.VISIBLE); float…
Rover
  • 661
  • 2
  • 18
  • 39
0
votes
1 answer

Why Broadcast Receiver doesn't Call after download manager is completed?

I'm setting download manager to download PDF file for server URL. file is download completely but Broadcast Receiver doesn't call to open file . I use AsyncTask and doInBackground class for downloading and set…
0
votes
2 answers

Per socket data transfer limitations. Are download managers useful yet?

The idea behind breaking up a download into multiple segments with different ranges is for increasing download speed. This works if the server has a per connection limit. A server without that limitation theoretically servers the same bytes with one…
Xaqron
  • 29,931
  • 42
  • 140
  • 205
0
votes
1 answer

How to limit download speed in this PHP code

I have the following PHP code which concerns the download methods for my website. I am trying to rate-limit the download speed to something specific since it is currently being abused and milked by download managers. I am not experienced in coding,…
Mozzie
  • 3
  • 4
0
votes
1 answer

how to track percentage of progressing download of each downloading file in exoplayer library?

I am working on a media player app. I'm using ExoPlayer library. I have a playlist of videos, and I want to download videos simultaneously. I done it by using available demo app of exoplayer library on GitHub. I want to show progress of each…
maryam
  • 1,437
  • 2
  • 18
  • 40
0
votes
0 answers

Play Mp3 file Downloaded using Download Manager

I used download manager to download an mp3 file, but what I also want is to be able to play the downloaded file from my app in an activity but I can't do that. Below is the code I used to download the file from server: BroadcastReceiver receiver =…