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
1 answer

IDM (Internet Download Manager) takes x2 time to download my ZIP file

I ZIP all my reports into a single ZIP file. When I turn off IDM, the download process tooks 20 seconds. But when enable IDM, it tooks 20 seconds to show the IDM download dialog, then after I click OK, it tooks another 20 seconds. Can I do something…
Coisox
  • 1,002
  • 1
  • 10
  • 22
0
votes
0 answers

Android Webview Downloading files only in HTML Format

I am new to android development. I am using webview and there are pdf files in my website for download. But the user need to login to access the downloadable content. I used below code and downloading and file naming is perfect.But the file type is…
0
votes
0 answers

how to prevent downloading if a file already exists

I am downloading images form URL and saving them in pictures directory in folder name unsplash. Now if a user has already downloaded an image I want to show an alert dialog that picture has already been downloaded and if the user wants to download…
Muaz Khan
  • 27
  • 6
0
votes
0 answers

Why doesn't anything download?

What I'm trying to do is have a basic pdf downloaded whenever I press a button. When I press the button I'm getting the text indicator "done" but nothing is being downloaded btn_download.setOnClickListener { var downloadRequest =…
0
votes
1 answer

How can i make the content of a webpage downloadable for the client

Im working on a project and i cant find a way to make the content of a page that prints out a table from my database downloadable. I want there to be a button that gives the client the opportunity to download the content of the table in form of…
oroezz
  • 9
  • 1
  • 5
0
votes
2 answers

How To Have Notification When Download Complete

I have a download feature in my android app. When I download a file, it will notify me by toast. I want to know how to have a toast notification when the download complete. I have trying other suggestions but haven't succeed in finding the result I…
0
votes
0 answers

Content Observer doesn't monitor the DownloadManager's download progress on Android

I implemented the download functionality in my android app using the download manager. The download manager dows its job well, and once download is completed, the broadcast receiver I set is called successfully. But, I want to monitor the download…
0
votes
1 answer

W/DownloadManager: Aborting request for download 17: Failed to create target file /storage/emulated/0/Ringtone/Fav_Ringtone.mp3

I am trying to download my mp3 file and want to save it to internal storage at a specific location. But every time my download is failing. Logcat error message 01-01 08:36:09.295 154-748/android.process.media W/DownloadManager: Aborting request…
0
votes
2 answers

What is the maximum size of an http response?

i am creating an HTTP download manager, and i am using pure socket in c#. i don't know how much HTTP data i should read in each Network stream read function. if i read about 1024 byte, it's okay. but i want to know how can i figure it out how much…
aidin jj
  • 43
  • 1
  • 7
0
votes
0 answers

How to fix Primary directory null not allowed for content in Android programming

In my application I want download some videos from server. For this work, I write below codes. But after click on download button not download any files and just show me error in logcat tab! DownloadManager.java codes : public class DownloadManager…
0
votes
0 answers

Deleting File/Directory and Recreating Before Download Manager Makes File/Directory Appear Non-Existent

I am downloading font files from a direct download link and saving it to my device. The sequence is as follows: Activity 1 - Press Next Activity 2 - OnViewCreated, the below code is called to download and set the font face. Activity 3 - The font…
PWJ
  • 83
  • 10
0
votes
0 answers

How to check,whether download was successful downloadmanager

We can catch,when download was finished by using of reciever with intent woith action DownloadManager.ACTION_DOWNLOAD_COMPLETE. But what about checking,whether this download was successful and if no,whether it partially completed or file at this url…
0
votes
2 answers

askForStoragePermission on a null object reference

i want to download image on click via image url. but when i click on download button i got this error on callback.askForStoragePermission(); this is my code to download image in adapter: Uri uri =…
0
votes
0 answers

Cannot able to Download Files from WebView which have restriction of One time Download

I am facing a issue with downloading files with WebView that can only be downloaded one time by one user, after that url will not return the file. I am using Download Manager to handle the download of files. So, In that case. WebView makes a request…
0
votes
1 answer

How to download a file to a specific folder

I need to download a file to the getFilesDir directory of android so it is only accessible by the application. I am currently using Download Manager and I can only specify the Environment type. Please can I use a custom directory or is there another…
Joseph Ofem
  • 304
  • 2
  • 15