Skip to content Skip to sidebar Skip to footer

Android: Download File Programatically Using The Browser

My app has a string containing the URL to a file, typically something like a Word document or a PDF file. I want to give the user a way to download the file the same way they would

Solution 1:

You can download it with your own code, and place it in the \Download folder on the SD card. Alternatively, you could use the DownloadManager available on API 9 and above.


Post a Comment for "Android: Download File Programatically Using The Browser"