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

The downloaded file with DownloadManager returns File.length() zero

I'm downloading an mp3 with DownloadManager and when the download is finished, on BroadcastReceiver I try to play it with MediaPlayer. Why does File.length() for downloaded file return zero ? That prevents me from playing MP3 immediately after the…
0
votes
0 answers

Alternative for querying DownloadManager Android

I am using system Download Manager to download some files in my app. To check download status, I query download manager by filtering the enqueue Id. The problem is when I force stop Download Manager, I will not be able to query the Download…
0
votes
1 answer

Partially downloading data in Swift

I'm trying to develop a download accelerator in Swift. It should get the file's size and divide it to n parts. Then it should download them at once by running multiple threads, and then merge the parts. I read C# - Creating a Download Accelerator,…
MCCCS
  • 1,002
  • 3
  • 20
  • 44
0
votes
0 answers

Can't download an apk when using mobile network

It's normal when I use wifi to download the apk. Here is my code: private void singleDownloadThread() { try { URL url = new URL(entity.getUrl()); HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); …
gaomode
  • 156
  • 1
  • 11
0
votes
1 answer

FileProvider error "Failed to find configured root that contains /data/data/sawbodeployer.entm.illinois.edu ..."

I download video by android download manager and want to share this video, I follow through Manifas
Mahsa
  • 123
  • 1
  • 11
0
votes
0 answers

request.setDestinationInExternalPublicDir “DRIVE ME CRAZY”

My app stops when i use this method request.setDestinationInExternalPublicDir I want to store Downloaded File in a DIRECTORY_MOVIES , but it does not work. I change CompileSDKVersion to 25 put it sill not working here is the code : public void…
0
votes
1 answer

try to download video locall on iOS swift

I'm trying on click of a button to download a video into my phone. I"m using the following: @IBAction func startDownload(_ sender: AnyObject) { let videoImageUrl = "http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4" …
tibewww
  • 593
  • 4
  • 11
  • 32
0
votes
1 answer

Unable to create file in externalFileDirectory using download manger in Blackberry OS android

I am unable to create file in externalFilesDir using below mathod in blackberry OS android. request.setDestinationInExternalFilesDir(this, "Update", "File.apk"); When i checked the folder than folder doesn't have read/write permission in Blackberry…
Jarvis
  • 1,714
  • 2
  • 20
  • 35
0
votes
1 answer

Android Filedownloader library: How to maintain a list / history of downloaded files?

I am developing a download manager app, where I am using lingochamp filedownloader library to download files from different activities. Here, I want to maintain a history of files downloaded, but according to a discussion here, the library doesn't…
smprj
  • 63
  • 1
  • 3
  • 9
0
votes
0 answers

DownloadManager.ColumnBytesDownloadedSoFar always returning 0

Im using the following code to try and check what the download progress is and it is always returning 0. Does anyone know why this is? I cant get it to be anything but 0. DownloadManager.Query query = new…
0
votes
1 answer

how can i create a download button on it?

//a table to display file from the database Description Category Upload By Date …
0
votes
1 answer

DownloadManager takes 3-5 minutes to stop a download, only when SD Card is used

I'm starting a 2Gb file download using the DownloadManager, and in doing so I offer the user the option to pick where they want to save that file: internal storage or SD card. Also, I give the user an option to cancel said download. Here is my…
zrgiu
  • 6,200
  • 1
  • 33
  • 35
0
votes
1 answer

DownloadRequest in volley plus not downloading file

I am trying to download a file using volley plus(https://github.com/DWorkS/VolleyPlus/blob/master/library/src/com/android/volley/request/DownloadRequest.java) . Here's my code: @Override public void downloadFile(String url, final String path,…
androider
  • 982
  • 6
  • 16
  • 32
0
votes
1 answer

Where to download and install Oracle Directory Manager?

Would someone please tell me specifically where can I download Oracle Directory Manager component? I know it's in one of the Oracle 10g discs but which one? Database, Client or Companion CD.
N4Z
0
votes
0 answers

What is the proper syntax for downloading a torrent from many different sources?

I am looking to download a single torrent file containing several items of interest. Note: I am ultimately after the items of interest, not the torrent file itself. I understand that aria is capable of downloading the same set of files from multiple…