4- Upload and Retrieve Image with Firebase in Android Studio | Upload Image to Firebase Storage

Published: 12 May 2019
on channel: CodingWithSaani
3,444
like

Hello Guys, this is the forth video of the tutorial series how to upload an images in the #FirebaseStorage and then how to to store the downloadable link into #Firestore database.

In this video, I have created a method for uploading the image into firebase storage along with coding in which I have save the downloadable link into Firebase Firestore. Then I have created a method with which you can get the extension of file.

In the first part of the video I have created the object of the Storage Reference and Firebase Firestore, then I have initialized these two objects.

In the method of uploading the Image I have used Upload Task class and then put File method to upload the image into Firebase Storage. Then when it successfully upload the image into the storage then I have used the Firebase Firestore to save the downloadable link.

To store the extension of the image I have used the object content resolver and Mime Type object inside a separate method and then got a Uri from this method.

I hope that you guys will learn something out of this video. Keep learning and keep sharing.

For more please visit:
www.FarrukhEhsan.com
www.tutorials180.com

and follow me at Twitter.com/link2Saani.

Happy Coding.


Watch video 4- Upload and Retrieve Image with Firebase in Android Studio | Upload Image to Firebase Storage online without registration, duration hours minute second in high quality. This video was added by user CodingWithSaani 12 May 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,444 once and liked it like people.