How to EASILY Download Any File in Android With DownloadManager - Android Studio Tutorial

How to EASILY Download Any File in Android With DownloadManager - Android Studio Tutorial

Philipp Lackner

1 год назад

39,395 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Best Apps
Best Apps - 19.09.2023 06:12

Is it possible use this to download libs like Admob UMP buddy?

Ответить
Asif Shaikh
Asif Shaikh - 30.08.2023 10:09

I Wanted to create my own any file download browser can you create a video on that ? or tell me the steps.

Ответить
terlan abaszade
terlan abaszade - 10.08.2023 20:33

Philipp, is externalpublicdir depracted or not?

Ответить
satish kumar
satish kumar - 02.08.2023 21:25

Unable to download mp4 video, please some one let me know what is the problem. My url doesn't contain .mp4 extension

Ответить
Trọng Sang
Trọng Sang - 01.08.2023 06:01

thank u

Ответить
Ezequiel Biglia
Ezequiel Biglia - 04.07.2023 07:02

Hello. I have a url that starts with blob. Is there any way to download?

Ответить
Sudhanshu Dubey
Sudhanshu Dubey - 21.06.2023 22:22

Hey Phillip! Great tutorial :) May I ask if it's possible to keep the download running when user minimizes the app. I tried it putting it in CoroutineWorker service but still it just closes the download once user minimises the app. :(

Ответить
Pius Gabula
Pius Gabula - 21.05.2023 13:40

why didn't you cater for the runtime permissions for storage

Ответить
sunil
sunil - 12.05.2023 07:42

somebody help me, when i run the application in emulator it's working when i run it in my device it's not working any possible solution for this.

Ответить
Sampat Sharma
Sampat Sharma - 09.05.2023 12:56

The only problem is , Download manager is slow when Downloading files , what do you think about Download a file in multipart and merge after that

Ответить
Li Po
Li Po - 19.04.2023 20:25

Hi Philipp. Thank you for this great tutorial. I use it in production code, but now I have a question. I download files from an Amazon S3 bucket and Amazon informs me that I need to make sure that the TSL 1.2 protocol is used in my Android app. I cannot find any info regarding this in the DownloadManager docs. How does DownloadManager relate to TSL? What am I supposed to do to make sure DownloadManager works with TSL 1.2?

Ответить
Fernando Batista
Fernando Batista - 17.04.2023 19:42

I can use LocalBroadcastReceiver?

Ответить
Azhar Shaikh
Azhar Shaikh - 16.04.2023 17:15

.MainActivity}: java.lang.SecurityException: No permission to write to /storage/
error occured

Ответить
Oğuzhan Aslan
Oğuzhan Aslan - 02.04.2023 12:25

junior dev: "lets see if Phlipp has any tutorial about this topic".
Senior dev: "lets see if Phlipp has any tutorial about this topic".

I remember the time when this channel had 2k followers only.

keep it up man !!

Ответить
Muhammad Atif Arif
Muhammad Atif Arif - 22.03.2023 09:55

Hi Philips,
How to check download progress using download manager and how to use pause and resume using download manager.?

Ответить
IOExeption
IOExeption - 02.03.2023 15:32

Can you creat app for stream camera to server

Ответить
PlayStreams
PlayStreams - 05.02.2023 13:43

Great tutorial! I really struggled with this on Java, including showing progress notification. Can you include a section to show PAUSE/RESUME of downloads?

Ответить
Ju nito
Ju nito - 01.02.2023 00:36

What are the advantages of using Download Manager over opening a stream at the url given, except for the reduced amount of code? Which one is faster?

Ответить
Šubyk
Šubyk - 31.01.2023 12:11

What computer you using, your building speed is so much faster than me and my cimputer is not that bad.. :)

Ответить
Bharat Kumar
Bharat Kumar - 30.01.2023 12:25

You did not tell how to handle errors in that like any download errors

Ответить
Kaletsugas
Kaletsugas - 26.01.2023 13:53

Can you make a video for selecting and loading local files with a file manager? Hopefully can select type if audio, video, pictures and documents or any file type..

Ответить
Sardor Islomov
Sardor Islomov - 25.01.2023 14:51

Мултик

Ответить
ShredzZ
ShredzZ - 24.01.2023 21:21

Hi, do you think Mobile development is good career path if i want to be full time freelancer?

Ответить
AmanTaNwAr
AmanTaNwAr - 24.01.2023 16:56

Hi ,i am 16 and i wanna to be an app developer and an Entrepreneur, right now i am mot having that much knowledge about this all ,but i wanna to launch apps before my 18 ,i need a little guidance and few advices which i haven't got from my friends amd surrounding...
I will be glad if anyone help me and give me ideas how to start learning coding and what to do

Ответить
Victor Lapin
Victor Lapin - 24.01.2023 15:14

That moment when Philipp makes a video on the topic I've made a conference talk couple years ago 😊 Thanks

Ответить
Luke 7
Luke 7 - 24.01.2023 12:09

Please make tutorial on data synchronization cross multiple devices.

Ответить
ADAM
ADAM - 23.01.2023 20:49

I like this kind of tutorials (tutorials that no one talked about or even clearly),
Thanks Mr.Philipp
You make a great content

Ответить
Rafs
Rafs - 23.01.2023 13:34

In my case I needed the uri for the downloaded file for further operations so i got it using getUriForDownloadedFile(requestId). However, the returned uri doesn't work in an ACTION_VIEW intent.

Ответить
Rok Končina
Rok Končina - 23.01.2023 12:03

And how would you display the progress in the app? It's odd that there's no callback and you have to mess around with BroadcastReceiver...

Ответить
Rafs
Rafs - 23.01.2023 11:55

I happen to be working with downloadmanager

Ответить
I'm PSK
I'm PSK - 23.01.2023 03:40

Bro can you make pathbuilder tutorial 🤗??
I'm waiting 👍

Ответить
Mustafa Ammar
Mustafa Ammar - 22.01.2023 22:07

thank you bro

Ответить
Tiago Romao
Tiago Romao - 22.01.2023 21:43

Great video. Is it possible to download utube video in Android? Thanks!

Ответить
seems true
seems true - 22.01.2023 20:44

please make video about open file manager android and using it into our project in android 13

Ответить
Muhammad Safi Ullah
Muhammad Safi Ullah - 22.01.2023 20:24

Ответить
Sevban Bayır
Sevban Bayır - 22.01.2023 18:34

I automatically like your videos before watch it cause it's enough to see the title :D

Ответить
Mehrdad J
Mehrdad J - 22.01.2023 18:30

👏👏👏👏👏👏🙏

Ответить
Robert Chrzanowski
Robert Chrzanowski - 22.01.2023 17:41

Why have an interface with only a single implementation? This could be accomplished with a top level extension method on `Context` and still be testable.

Ответить
Calvin De Ceuster
Calvin De Ceuster - 22.01.2023 17:40

Great video, Thank you!

Ответить
Abdelrahman Khaled
Abdelrahman Khaled - 22.01.2023 17:27

thanks for this video, can we define any path to the downloaded image to be saved in .. than the download dir ? and will this conflict with the scoped storage?

Ответить
Deepak Bisht
Deepak Bisht - 22.01.2023 17:26

Create video for download files with progress or multiple files with a single progress...

Ответить
masti437
masti437 - 22.01.2023 17:15

Philip, There is one case to handle when it comes to download manager, What if user searches downloadmanager and disables it in settings ... In this case the code would crash if the case is not handled.
Thank you for all the quality content in android, Your videos are very useful especially the once on Jetpack compose and clean architecture in your paid course. Also waiting for a in-depth course that primarily focuses on testing in paid courses covering all scenarios and scripting involved in automating the test cases. I asked this on your insta story also 🙂🙂🙂🙂 🙂

Ответить
Amr Thapet Mohamed
Amr Thapet Mohamed - 22.01.2023 17:05

Greet 🌹🌹🌹

Ответить
Go Fudge Yourselves
Go Fudge Yourselves - 22.01.2023 16:58

Philipp is God. I have seen him walking over water.

Ответить
Abhicoder
Abhicoder - 22.01.2023 16:52

Hello Phillip,

Awesome video as always, I learned a lot about android development by watching your tutorials and I managed to create a basic app. I have a request: can you please make a video on android AccountManager, how can we use this in our app to securely store credentials? I tried my fair share of research but everything I find is outdated or deprecated. I would be a great if I get to learn this from you.
Many Thanks

Ответить
you nes
you nes - 22.01.2023 16:35

We need video about notification

Ответить
David
David - 22.01.2023 16:35

is it possible to implement this alongside coil so i can save images into internal storage?

Ответить
Oyindamola Gideon Olarewaju
Oyindamola Gideon Olarewaju - 22.01.2023 16:34

Hello Philip, Kudos to you, great video as always.
You are a great mentor to me. Lately, it's been hard to upload a pdf file to a server on android >10, the file is simply not found, but the same implementation works in uploading an image. Please are there any of your videos that details this?

Ответить