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

preview_player
Показать описание
In this video I'll show you how you can make use of DownloadManager in Android to download any file in the background in your app.

⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:

Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!

Join this channel to get access to perks:

Get the source code for this video here:

Join my Discord server:

You like my free content? Here you can buy me a coffee:
Рекомендации по теме
Комментарии
Автор

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 🙂🙂🙂🙂 🙂

masti
Автор

Omg, how does this happen? Once I come to the topic, Phillip submits video about that topic... Unbelievable. Maybe we think the same way? 😁😁

purplehazer
Автор

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

Adam
Автор

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?

Dzhumer
Автор

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 !!

oguzhanaslan
Автор

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

Play_Streams
Автор

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

abhicoder
Автор

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

victorlapin
Автор

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

sevbanthebuyer
Автор

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?

abdelrahmankhaled
Автор

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

ShredzZ
Автор

Ask, Please tell about obfuscation and anti reverse enginering.

muhamadannur
Автор

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?

oyindamolagideonolarewaju
Автор

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

subyk
Автор

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..

kaletsugas
Автор

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. :(

sudhanshudubey
Автор

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

MuhammadAtifArif-nyvz
Автор

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

ashoktanwar
Автор

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

rahmat-unod
Автор

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

David-zbbr