This might help you :) 👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com Source Code: github.com/JohannesMilke/open_file_example How To Use File Picker Tutorial: kzbin.info/www/bejne/bKXJc5mie7qCbdU Share Files, Images, Text, URLs Tutorial: kzbin.info/www/bejne/eX-4c5uYlMiAbKc Download Files From Firebase Tutorial: kzbin.info/www/bejne/j3LCl3t5e8R4j8U Upload Files To Firebase Tutorial: kzbin.info/www/bejne/mp69aoedbtBkabc SQFlite SQL Database Tutorial: kzbin.info/www/bejne/i6Guo5uQZa2jps0 Hive NoSQL Database Tutorial: kzbin.info/www/bejne/rWnGi36jbthlaJo In App PDF Viewer Tutorial: kzbin.info/www/bejne/q5rdi5WAjN-ce8k Video Player Tutorial: kzbin.info/www/bejne/q6uXqYWkepKIf9k Image Tutorial: kzbin.info/www/bejne/gHWnoIFoia2qq8k Create Social Share Buttons Tutorial: kzbin.info/www/bejne/mIjImXR8iauWb9E WebView Tutorial: kzbin.info/www/bejne/gqqkqKGtq8d1ga8 Amazing Lottie Animations Tutorial: kzbin.info/www/bejne/oaqzmq2em9NroZo Pick Images From Gallery Or Camera Tutorial: kzbin.info/www/bejne/g4TZZGughJl4gM0 Open Email App Tutorial: kzbin.info/www/bejne/i3ubhYV9rZqarbM Capture Screenshot Tutorial: kzbin.info/www/bejne/qHKln5R8Yr2eaac Google Sheets API Tutorial: kzbin.info/www/bejne/aYatZ4WkjLl6f7s Cached Network Image Tutorial: kzbin.info/www/bejne/bKjZdWCQYp6NiK8
@iamtafara3 жыл бұрын
Working on a flutter app that needs just this.... you the best bro
@TheOne-ur5wr3 жыл бұрын
Johannes also teach us that how to implement background download like other browser does by extending this video.
@Pro-jy3gp4 ай бұрын
Such a light and polite voice you got brother keep it up I need a suggestion from you by using this method i will check for the same app update if there is an update of it will download it and install it will it works? So basically it updates the same app?
@HeyFlutter4 ай бұрын
Thank You @NasirKhan-jy3gp! Follow this link: pub.dev/packages/upgrader I hope you will get your answer 🙂
@DavidLarsenDr2 жыл бұрын
You - Are - AMAZING . Thank you so much, this was a seriously big help!
@parameshmamidisetti81673 жыл бұрын
Congratulations 30k subscribers 😍
@ziwaang22502 ай бұрын
Great video! Was very helpful! I wanted to ask do you have any videos on how to display and open downloaded files on the app as a list of items? For example, I want to make an app where you can download recordings and view the recordings you have downloaded on the app. After I download the recording, how can I put it in e.g. a Listview builder, and not just open it with the device's default app?
@HeyFlutter2 ай бұрын
Thank You @ziwaang2250! Follow this link: stackoverflow.com/questions/76261666/flutter-accessing-all-type-of-files-from-download-directory I hope you will get your answer 🙂
@ziwaang22502 ай бұрын
@@HeyFlutter Not exactly what I am looking for, but thank you nonetheless
@venaries Жыл бұрын
This is a great guide! But unfortunately I can't open large files. I am suspecting the Open_file library cannot open files larger than 6Mb I am happy to receive a response from Johannes Milke
@HeyFlutter Жыл бұрын
Hey, @venaries 🙂 it's not like that, make sure your file is not corrupted!
@Moncellence2 жыл бұрын
Thanks so much again for all your helpful tutorials,,,
@afnanmarker93972 жыл бұрын
THANK YOU SO MUCH SIR ! YOU EARNED A SUBSCRIBER😃
@GarthFransman2 жыл бұрын
Hi Johannes . Thanks so much again for all your helpful tutorials . A Question I have is , how would I show some progress or percentage bar while a file is downloading from this example . THANK YOU !
@diyorbekdev2182 жыл бұрын
internet_file package
@etekumoses33202 жыл бұрын
@@diyorbekdev218 Could you elaborate more please because if you already using dio can you use two at ago
@rivella992 жыл бұрын
Interesting would also be a step in between where it's checked if a network file has already been downloaded and/or is in the cache, in order to avoid unnecessary download actions.
@rivella992 жыл бұрын
@@HeyFlutter Actually this works well with the 2 plugins flutter_cache_manager and open_file.
@nightcoder5563 Жыл бұрын
Hi bro 👋🏻 I have a question Can I use flutter_downloader package for downloading videos from youtube or instagram
@HeyFlutter Жыл бұрын
Thank You Night Coder! Follow this link: pub.dev/packages/flutter_downloader I hope you will get your answer 🙂
@fayezalle432 жыл бұрын
Thank you very much! Learn a lot from your channel.
@durrahassan5591 Жыл бұрын
i love you , saved my day 😭😭😭😭😭😭😭
@HeyFlutter Жыл бұрын
Thank you, durra hassan! 🙂
@sharofqurbonov96059 ай бұрын
Thank you bro!
@HeyFlutter9 ай бұрын
You are welcome, @sharofqurbonov9605!
@rhk2312 жыл бұрын
thanks alot man ! You saved my day.
@melonpun2 жыл бұрын
Can we use this method to download a file from asset to device?
@HeyFlutter2 жыл бұрын
Hey, Fahad Alam Shah 🙂 files in assets are within app, thus do not need any downloading
@melonpun2 жыл бұрын
@@HeyFlutter my idea is that I have pdf files in app asset and when the user opens/views the pdf file they can download/save it on the device.
@akashkirant6812 жыл бұрын
i want to cancel a download if a network error occurs using this. Please help me
@HeyFlutter2 жыл бұрын
Thank You Akash Kiran T! Follow this link: stackoverflow.com/questions/63265692/pause-resume-and-stop-downloading-with-dio-package I hope you will get your answer 🙂
@shubhamheer45103 жыл бұрын
thankyou 🙏❤️❤️
@mostafaosama56332 жыл бұрын
Hi Johannes, thank you so much for your videos and effort. i have a question: what happens when i download the same file many times, is it going to overwrite the old one or it's going to make a new file with different name such as "new folder (2)" and for better performance for the second time open should i try to check if i have this file already and if yes i open it else i download it again but i think the file on the cloud may have been changed over time so, i think in this case i should store the date modified coming from the server somewhere and compare it at next time open with date modified of the server again sorry for taking long, but i am always tring to figure out the best practice or best performance. thank you for your time
@HeyFlutter2 жыл бұрын
Thank You Mostafa Osama! Follow this link: stackoverflow.com/questions/57795207/getting-same-file-downloaded-multiple-times-concurrently I hope you will get your answer 🙂
@user-jp883 жыл бұрын
Very Useful. Thanks👍
@AbbasMKhalil3 жыл бұрын
Omg, this is so beautiful!
@wadalamen143 жыл бұрын
Thank you very much my brother...👍 I want to ask you very important thing for me... How to download any media from the Internet and save it to the asset folder in my app... So I will not need to download it again when opening the app next time.. Is there any way to do that?
@wadalamen143 жыл бұрын
@@HeyFlutter Thanks a lot. So I think I will download the images to my application path in in the device, then make methods to read from there.
@HeyFlutter2 жыл бұрын
Thank you, Elfatih Mahdi! 🙂 you can access asset folder only while developing application, once it's compiled and released apk is generated you can not make changes to asset folder. So, better approach is to download file store the path of downloaded file and access data from there in future
@riyatyagi90312 жыл бұрын
Hello Sir,,,,actually I am getting problem in using File class saying abstract class cant be instantiated..wt can be done? for picking images
@abdielcastl3 жыл бұрын
Me acabas de salvar el día.
@hashankannangara87232 жыл бұрын
Is this work for huge files also?
@mohamedzakariagridi10592 жыл бұрын
great video mate, but how do you save the file directly to local Document folder ? for example if i want to download a pdf file and save it to Document folder instead of the app private folder
@mohamedzakariagridi10592 жыл бұрын
@@HeyFlutter thank you for your reply mate, but the developer on that thread is suggeusting a different package called downloads_path_provider which only saves to the Downloads folder, and after test it turns out its depricated
@R3d_Devil2 жыл бұрын
@@mohamedzakariagridi1059 Did you find a solution to this?
@HeyFlutter2 жыл бұрын
Thank You Mohamed Zakaria Gridi! Follow this link: flutterforum.co/t/how-to-save-to-a-particular-folder/1616/8 I hope you will get your answer 🙂
@alifaditya1547 Жыл бұрын
thankyou sir, this vid really help me
@HeyFlutter Жыл бұрын
Glad I could be of help, Thank you Alif Aditya! 😊
@helixdynamics95783 жыл бұрын
plz make a video where you could save any file format in the local android storage and not in a temporary folder. Users want the file to acess later so plz a make a video on "Saving a video or audio or any file format in the local storage of phone" 🙏🙏
@helixdynamics95783 жыл бұрын
@@HeyFlutter 🙏
@shubhamheer45103 жыл бұрын
@@HeyFlutter yes i also want this
@johnharold71213 жыл бұрын
Are you the voice actor for Bruce in family guy?
@szarejas2 жыл бұрын
Hi. What about files like a ppt or doc? Is it also possible with your methode?
@szarejas2 жыл бұрын
@@HeyFlutter THX
@HeyFlutter2 жыл бұрын
Thank You Maciej Szarejko! Follow this link: stackoverflow.com/questions/67919584/open-doc-docx-ppt-pdf-inside-flutter-app I hope you will get your answer 🙂
@bravolatavera36473 жыл бұрын
type 'Uint8List' is not a subtype of type 'int' on catch. how to fix?
@andresgutice2 жыл бұрын
@@HeyFlutter could you fix this problem? thanks
@gameplaystrailers77973 жыл бұрын
Make a video on flutters widget FLOW it’s really cool for animation flutter just posted a flutter widget of the week video about it
@m3a2teus2 жыл бұрын
Hey Johannes, how can i download to a visible folder? I need to download a pdf and let it in the documents.
@HeyFlutter2 жыл бұрын
Hey 😊, Angry!! Check out this solution: stackoverflow.com/a/59619771 i hope it may help you
@m3a2teus2 жыл бұрын
@@HeyFlutter Thank you so much!
@Tech1st3 жыл бұрын
Can we download the embed video?
@michelghaith43462 жыл бұрын
is this tutorial good for downloading youtube videos as mp3 ??
@HeyFlutter2 жыл бұрын
Thank You Michel Ghaith! Follow this link: flutterawesome.com/a-simple-app-to-download-mp3-videos-from-youtube/ I hope you will get your answer 🙂
@samippaudel2662 жыл бұрын
Hello johannes I wanted to know that if i had to download the file from the app to the device without url but straight file from the app, how do i do it?
@samippaudel2662 жыл бұрын
@@HeyFlutter Thanks a lot! On to another how do you set a time limit for a future to be obtained and perform some function if the time limit is exceeded Please help
@HeyFlutter2 жыл бұрын
Thank You Samip Paudel! Follow this link: medium.com/@michallot/how-to-write-a-simple-downloading-app-with-flutter-2f55ae516867 I hope you will get your answer 🙂
@pandajk2 жыл бұрын
Thank you :D
@HeyFlutter2 жыл бұрын
Thank you, Julio Panda! 🙂
@parungopal51512 жыл бұрын
Hi johannes is it possible to store files in external storage and otg pendrive..
@parungopal51512 жыл бұрын
@@HeyFlutter thank you for the link, but it seems that there is no support for usb pendrive that is connected through otg cable..do you have any other conclusion
@HeyFlutter2 жыл бұрын
Thank You P Arungopal! Follow this link: stackoverflow.com/questions/69708178/store-files-from-flutter-application-to-external-storage I hope you will get your answer 🙂
@brahimkh3623 жыл бұрын
Hello bother,I did as you showed it running on the Simulator after I built already and then I take application to install on my phone, it can’t open anything’s file,please tell me about it,I think that maybe problem from permissions in manifest,but I don’t know add it.thank you
@HeyFlutter2 жыл бұрын
Thank You Brahim Kh! Follow this link: pub.dev/packages/dio I hope you will get your answer 🙂
@toppoint3603 жыл бұрын
Your'e the best
@MillionviewsYT12 жыл бұрын
please tell me john how to encrypt video file when video download
@MillionviewsYT12 жыл бұрын
@@HeyFlutter i want to encrypt video not that
@HeyFlutter2 жыл бұрын
Thank you 😊, orthol leul! Check out this article : protocoderspoint.com/flutter-encryption-decryption-using-flutter-string-encryption/
@iremsm Жыл бұрын
can url start with "blob:" or should it start with "https:" always, while doing this?
@HeyFlutter Жыл бұрын
Thank you, @iremsm! 🙂. It will start with https
@iremsm Жыл бұрын
@@HeyFlutterThank you! But how can I download when my doc is already a blob file?
@sametdemirtop75782 жыл бұрын
Hi Johannes , how to open the Uint8List data that is coming from API ?
@HeyFlutter2 жыл бұрын
Thank You Samet Demirtop! Follow this link: api.flutter.dev/flutter/dart-typed_data/Uint8List-class.html I hope you will get your answer 🙂
@hashtag9990 Жыл бұрын
Great Video, could anyone tell how to open a file path? not the file, just navigate user to the default file explorer to the file path?
@HeyFlutter Жыл бұрын
Hey 😊, @hashtag9990! Check out this solution: stackoverflow.com/a/58226422 I hope this may help you
@hashtag9990 Жыл бұрын
@@HeyFlutter I've already seen it, that's just like building a explorer in your app, I want to send the user out of my app, to the explorer
@ranjanadeore29573 жыл бұрын
I want to make simple video editing apps in flutter ( like add overlay image and text)
@ranjanadeore29573 жыл бұрын
@@HeyFlutter thank you already waiting
@lomaaa4992 жыл бұрын
Thhhhhaaaank you,
@HeyFlutter2 жыл бұрын
You are welcome, Lo Maaa!
@ilknurnacak22 жыл бұрын
merhabalar videonuz için teşekkürler ancak bir hatam var.File class ta hata veriyor ne yapmam gerekli?Yardım ederseniz sevinirim.
@seggamulti12192 жыл бұрын
Not related.....I'm trying to import vcf file from storage using local path(content:\\\storage\emulated...) Using the Android intent package because open file doesn't support vcf files...I used AndroidIntent package and used action as "action_view", I put some flags ....but I'm getting an error when I open the external contact app to import the vcf file....Error is I/O error couldn't import vcard.. I would really appreciate your help bro🙏..fit it into your schedule
@HeyFlutter2 жыл бұрын
Thank you 😊, segga multi! Check out this package it may help : pub.dev/packages/vcard_parser
@xuankhanhhoang69993 жыл бұрын
open not working with doc, docx, xlsx. Help me
@xuankhanhhoang69993 жыл бұрын
@@HeyFlutter I tried this library but all log files are not supported. I have problem with doc, docx, xlsx, xls.
@HeyFlutter2 жыл бұрын
Thank You Xuân Khánh Hoàng! Follow this link: pub.dev/packages/flutter_filereader I hope you will get your answer 🙂
@dhrishyammedia2 жыл бұрын
The download is being cancelled when we navigate to another page. How to prevent the download from Cancelling while going to another page
@HeyFlutter2 жыл бұрын
Thank You DhriShyaM Media! Follow this link: pub.dev/packages/flutter_downloader I hope you will get your answer 🙂
@sultanmia38952 жыл бұрын
Nice ❤️
@HeyFlutter2 жыл бұрын
Thank you, sultan mia! 🙂
@Eli_YAH_72 жыл бұрын
Hey Johannes, I just subscribed and payed the 9 Euros for you, but I can't access this source code!!!! It is saying 404 this is not the web page you are looking for!!!
@HeyFlutter2 жыл бұрын
Hello Geo, please make sure to accept the invitation to the GitHub repositories before you can access the source code: github.com/orgs/JohannesMilke-Sponsors/invitation?via_email=1 If the error still persists write me an email to: hello@johannesmilke.com
@pavankalyan41962 жыл бұрын
Hii , How to do same functionality in iOS from flutter.
@HeyFlutter2 жыл бұрын
Thank You pavan kalyan! Follow this link: pub.dev/packages/dio I hope you will get your answer 🙂
@dhrishyammedia2 жыл бұрын
I cant open file from ios after downloading with this method. Can you please help how to open the file i case of ios.
How can we download hls video ? Dio seems to download only master.m3u8 file
@HeyFlutter Жыл бұрын
Thank You Code With Nishant! Follow this link: pub.dev/packages/flutter_downloader I hope you will get your answer 🙂
@tayf53772 жыл бұрын
How we can open dwg, dxf or cad files?:)))
@HeyFlutter2 жыл бұрын
Thank You Tayfun Dinçer! Follow this link: pub.dev/packages/dxf I hope you will get your answer 🙂
@tayf53772 жыл бұрын
@@HeyFlutter I've looked at this before but it's getting harder to put the pieces together for my project, the reason is to generate new ideas 🙂I hope I can overcome this thanks to your videos.😊🙏
@hrishikeshpator3853 Жыл бұрын
Subscribed and made subscribed by 7 others but didn't get the source code
@HeyFlutter Жыл бұрын
Thank You Hrishikesh Pator!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
@TarunKumar-ql4pr3 жыл бұрын
is it also wokring in iOS?
@HeyFlutter2 жыл бұрын
Thank You Tarun Kumar! Follow this link: pub.dev/packages/dio I hope you will get your answer 🙂
@landry_ng35172 жыл бұрын
is it possible to download file with http packages?
@HeyFlutter2 жыл бұрын
Thank You Landry_NG! Follow this link: stackoverflow.com/questions/72530115/flutter-download-a-file-from-url-automatically-to-downloads-directory I hope you will get your answer 🙂
@md.nazmulislam62312 жыл бұрын
Nice tutorial but you didn't show the large file download loading issue
@HeyFlutter2 жыл бұрын
Thank You Md. Nazmul Islam! Follow this link: samuelezedi.medium.com/flutter-dev-how-to-download-large-files-with-progress-2a3009d53317 I hope you will get your answer 🙂
@rawanazzam5012 жыл бұрын
مزع ليه ال source code مش available المهم نقلته من الفيديو وما عملت ريكوست ومززززززع
@deborahmizfel80362 жыл бұрын
hello.... I cant get the code from git. Can you help me pls?
@HeyFlutter2 жыл бұрын
Thank You Deborah MizFel!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
@persianflutter26632 жыл бұрын
not work on mp3 audio . why ?
@MohanRaj-cp9lg2 жыл бұрын
How to get local video file in saved in phone
@HeyFlutter2 жыл бұрын
Thank You Mohan Raj! Follow this link: stackoverflow.com/questions/58762661/how-to-display-a-video-i-saved-in-a-path-in-flutter?rq=1 I hope you will get your answer 🙂
@deepjyotibaishya75763 жыл бұрын
how to customize filename ?
@HeyFlutter2 жыл бұрын
Thank You Deepjyoti Baishya! Follow this link: stackoverflow.com/questions/59896345/rename-a-file-image-in-flutter I hope you will get your answer 🙂
@alybauomy7352 жыл бұрын
Dear Johan I tryed to call the file name but not working i try url: chatModel.fileURL.toString(), fileNam: '.pdf ' ?? 'doc' //when i put pdf it work only in pdf file i wanna work in all ( ['pdf', 'doc','docx','xlsx'] )
@ryankurniantara1090 Жыл бұрын
can u show me how to download file in ios ?
@HeyFlutter Жыл бұрын
Hey, @ryankurniantara1090 🙂 This tutorial works for both android and ios devices using flutter
@ryankurniantara1090 Жыл бұрын
@@HeyFlutter i got an error when save file in android 13, the permission dialog, cantt open
@MohanRaj-cp9lg2 жыл бұрын
How to display video or image path name in app
@HeyFlutter2 жыл бұрын
Thanks, also Mohan Raj! 🙂 it's easy you maybe passing your image path inside image widget use that same path
@MohanRaj-cp9lg2 жыл бұрын
If use file picker or image picker,when click image or video first goes to gallery app and then come to flutter app,I am asking without gallery app
@akbarshaik9998 Жыл бұрын
but open file deprecated now
@HeyFlutter Жыл бұрын
Thanks for your feedback, AKBAR SHAIK! 🙂
@GabrielOliveira-wl9jo Жыл бұрын
This package, open file is outdated and have soo many isues with other packages.
@HeyFlutter Жыл бұрын
Thanks for your feedback, Gabriel Oliveira! 🙂
@craysparish78002 жыл бұрын
useless: Poor explanation - code not working - No information about permisions - absolute crap
@dgrippo Жыл бұрын
FilePicker is not working in my case. It throws an exception: Unsupported operation. Method not found. The exception thrown was: MissingPluginException(No implementation found for method any on channel miguelruivo.flutter.plugins.filepicker miguelruivo ?????
@HeyFlutter Жыл бұрын
Thank You Daniel G! Follow this link: github.com/miguelpruivo/flutter_file_picker/issues/82 I hope you will get your answer 🙂
@usamajaved32312 жыл бұрын
I am getting DioError [DioErrorType.response]: Http status error [302] . Please help
@HeyFlutter2 жыл бұрын
Thank You Usama Javed! Follow this link: stackoverflow.com/questions/52537500/flutter-handle-status-code-302-in-post-request I hope you will get your answer 🙂
@usamajaved32312 жыл бұрын
@@HeyFlutter Sorry to disturb you again sir. But I am getting this error in get request.
@rohanranamagar15025 ай бұрын
I have done the same but its not working on mine. Need Help! @HeyFlutter
@HeyFlutter5 ай бұрын
Thank you, @rohanranamagar1502! 🙂. Please try to provide enough details with your question.
@lundrimiljazi78732 жыл бұрын
Hi, great tutorial, I get this errors: Download files I/flutter (23573): /data/user/0/app.biundle.com/app_flutter/testingOpenerFile.pdf Failed to handle method call E/MethodChannel#open_file(23573): java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/app.biundle.com/app_flutter/testingOpenerFile.pdf
@HeyFlutter2 жыл бұрын
Hello, Lundrim Iljazi! Follow this link: stackoverflow.com/questions/42516126/fileprovider-illegalargumentexception-failed-to-find-configured-root I hope it will solve your problem. Thank You 🙂
@Tech1st3 жыл бұрын
I now haven't any video url.only have embed video .its possible to download?
@Tech1st3 жыл бұрын
@@HeyFlutter u mean this tutorial or basically must needed?