Store User Profile data in Firebase FireStore | Firestore Tutorials | Android Studio

  Рет қаралды 178,765

SmallAcademy

SmallAcademy

Күн бұрын

Learn How to Store user profile data in the Firebase Firestore database in android studio. These are basic video tutorials on the firebase database where we are going to take the data from the registration form and store them in the firebase firestore database.
This is part one of the video tutorials on Firebase firestore store the user data and retrieve it .
Source Code: simplegyaan.com/post/how-to-l...
Previous Tutorials:
1. Firebase Authentication system part-1: • Login & Register Andro...
2. Firebase Authentication System Part-2: • Login & Register Andro...
Next Tutorials :
1. Verify User Email Address : • Verify user Email Addr...
1. Forget Password / Reset Password: • Reset Password | Login...
Source:
firebase phone authentication android tutorial, firebase android authentication tutorial,android studio tutorial - firebase authentication (2019 version),#1 firebase phone authentication android tutorial - sign in,Login & Register Using Firebase,Android Studio Authentication Tutorials,login and register android studio,login and register android studio firebase,firebase authentication android,firebase authentication tutorial,android studio tutorial for beginners
#androidstudio #firebase #firestore

Пікірлер: 306
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Part 2: How to Fetch and Display Data From Firebase Database : kzbin.info/www/bejne/pnLLiniva9hsrbM
@befit_kw7762
@befit_kw7762 4 жыл бұрын
Hello sir, great informative video indeed. That brings me a question in how we use Google authentication firebase and connect to Google fit Api at the same time? I'm really struggling with this part and your help is highly appreciated.
@onlyyouuteh9658
@onlyyouuteh9658 3 жыл бұрын
Thank you so much., your code really work., I have tried tons ., but failed.
@chuashanjing2261
@chuashanjing2261 Жыл бұрын
Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> { If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){ Override public void onSuccess(Void unused){ Logd(.....); }}).addOnFailureListener(new OnFailureListener(){ @Override public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString} For this code, e.toString and new OnFailureListener is still grey
@chuashanjing2261
@chuashanjing2261 Жыл бұрын
Sorry im a beginner pls guide me
@besianafixha9599
@besianafixha9599 4 жыл бұрын
I did all 4 videos step by step and now I have a fully functional app. I did not just program the app, I learned java and android studio so much better than before! Thank you!
@duskysky721
@duskysky721 4 жыл бұрын
i won't skip any ad because this vid is very helpful and well explained.. thank youu
@ssserpentario877
@ssserpentario877 4 жыл бұрын
The best, plplease continue teaching like that :D
@muhammadhammad2314
@muhammadhammad2314 4 жыл бұрын
you are doing great!, i am just looking forward to have some new android tutorials from your side
@vendelinfilip9026
@vendelinfilip9026 4 жыл бұрын
Thank you very much for this tutorial. This is absolutely perfect.
@Tommaso1123
@Tommaso1123 4 жыл бұрын
fantastic, continue with this kind of video because for university student is a very powerful way to learn programming
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 4 жыл бұрын
very good unique method of explaining. i was looking for just this thing.
@radhakrushna_3131
@radhakrushna_3131 Жыл бұрын
Thank you so much for the video. I literally had have up on this as I didn't find anything regarding the rules part over internet. Thank you again😃😃😃
@edenramos6681
@edenramos6681 4 жыл бұрын
this is great and clear tut step by step with explanation from the app to firestore.God bless to your sir.
@marcjacob11
@marcjacob11 Жыл бұрын
Thank you so much for this! Your videos are so helpful and I am learning a lot from them! Once again, thank you so much! :D
@Bragheto
@Bragheto 3 жыл бұрын
This is GOLD! Thank you so much!
@W-meme
@W-meme 4 жыл бұрын
Thank you sir, easy and simple.
@PaceDesigns
@PaceDesigns 4 жыл бұрын
Thank you for your tutorials!
@adonismelencion
@adonismelencion 4 жыл бұрын
Thank you! Please do more tutorials!!
@shahanamohammed1125
@shahanamohammed1125 3 жыл бұрын
Simple explanation. It worked for me.
@therealsanjeev
@therealsanjeev 4 жыл бұрын
Bro ur video help me lot thanks for this 💯 👌 ur channel really great for android dev 👊
@umniahalhalaby2110
@umniahalhalaby2110 3 жыл бұрын
That was very helpful. thank you.
@EBKCS_SIDDHARTH_SHARMA
@EBKCS_SIDDHARTH_SHARMA 3 жыл бұрын
Most helpful video series for beginners! Thank you so much sir, keep making videos ;p
@chuashanjing2261
@chuashanjing2261 Жыл бұрын
Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> { If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){ Override public void onSuccess(Void unused){ Logd(.....); }}).addOnFailureListener(new OnFailureListener(){ @Override public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString} For this code, e.toString and new OnFailureListener is still grey
@forcedsmile9400
@forcedsmile9400 2 жыл бұрын
You are Excellent Teacher For the student 😉
@joshuanwokoye7330
@joshuanwokoye7330 4 жыл бұрын
Thanks. I love ur teaching method
@SmallAcademy
@SmallAcademy 4 жыл бұрын
☺️
@codernew3191
@codernew3191 Жыл бұрын
Thankyou sir, your rules helped me out .
@ria201tiss9
@ria201tiss9 4 жыл бұрын
This was so helpful. Thanks
@abdur-raheemqureshi9172
@abdur-raheemqureshi9172 8 ай бұрын
Explained really well and easily implemented the solution, really helpful 👍
@therealityshow8264
@therealityshow8264 2 жыл бұрын
Thanks well explained...
@rawhaosman2099
@rawhaosman2099 4 жыл бұрын
Great job and prefect explaining Thanks alot ^_^
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Awesome 👏
@aissamboussoufiane7387
@aissamboussoufiane7387 2 жыл бұрын
Thaank youu , love inidia from morroco
@niphomahlangu2733
@niphomahlangu2733 Жыл бұрын
Great tutorial. Thank you. 🤝
@praveenasivakumar9781
@praveenasivakumar9781 2 жыл бұрын
Thank you for the help!!!! I understood well and it worked!!!
@chuashanjing2261
@chuashanjing2261 Жыл бұрын
Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> { If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){ Override public void onSuccess(Void unused){ Logd(.....); }}).addOnFailureListener(new OnFailureListener(){ @Override public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString} For this code, e.toString and new OnFailureListener is still grey
@nathanneisan5697
@nathanneisan5697 7 ай бұрын
thankyou verry much for the video sirr
@montshojosephmotsumi7762
@montshojosephmotsumi7762 Жыл бұрын
The tutorial is awesome! please make another storing and retrieving user profile image
@mousaabdelnabyahmed878
@mousaabdelnabyahmed878 3 жыл бұрын
Thank you so much
@bijayparajuli2775
@bijayparajuli2775 4 жыл бұрын
very helpful thanks bro
@amolhase5249
@amolhase5249 3 жыл бұрын
Thank you sir.
@rushibhagwat4108
@rushibhagwat4108 3 жыл бұрын
very informative video
@srujanv6433
@srujanv6433 4 жыл бұрын
Great tutorial brother... Will you please make a video on how to debug a complex application
@jayeshmahajan7090
@jayeshmahajan7090 4 жыл бұрын
Bhai tu bahut sahi batata he yaar maan liya tujhe.
@boussaadamostafa519
@boussaadamostafa519 4 жыл бұрын
batata in our language is something to eat
@jayeshmahajan7090
@jayeshmahajan7090 4 жыл бұрын
You mean potato yeah i know.
@surajchaurasia709
@surajchaurasia709 4 жыл бұрын
Bro, thankyou so much for this tutorial and please can you make tutorial on order confirmation with firebase
@thirukarthikanadar615
@thirukarthikanadar615 4 жыл бұрын
Awesome explanation
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Thanks ☺️
@moistumbilicalcord3307
@moistumbilicalcord3307 4 жыл бұрын
I love the content but the volume mastering is very quiet, I struggle to hear on max volume. Other than that your teaching and tutorial skills are really good and has helped me massively! Please keep up the good work!
@chuashanjing2261
@chuashanjing2261 Жыл бұрын
Hello sir, 20:28 how did u manage to make addOnSuccessListener((OnSuccessListener)(aVoid) -> { If i ignore it and i use addOnSuccessListener(new OnsuccessListener(){ Override public void onSuccess(Void unused){ Logd(.....); }}).addOnFailureListener(new OnFailureListener(){ @Override public void onFailure(@NonNull Exception e){logd Tag, msg + e.toString} For this code, e.toString and new OnFailureListener is still grey
@sanjaystewart666
@sanjaystewart666 5 ай бұрын
YESS WORKS 100%
@bitrework1332
@bitrework1332 4 жыл бұрын
Your tutorial are amazing quite satisfied I faced only one issue that's after downloading there is no option available of playback speed I request you to manage this Coz I usually watch videos on 1.75-2x speed
@SmallAcademy
@SmallAcademy 4 жыл бұрын
u can use VLC Media player to watch the video and set the playback speed as well
@balajibrk1779
@balajibrk1779 4 жыл бұрын
Thanks brother :)
@ashishab1281
@ashishab1281 3 жыл бұрын
Best bro 🔥
@sairam3351
@sairam3351 2 жыл бұрын
Super bro
@kemalselcuk4755
@kemalselcuk4755 2 жыл бұрын
Hi sir, great content. My question is if my professor opens up my project, how will he connect to the firestore database? Does he have to add all the dependencies like we did?
@deborahfontoura9638
@deborahfontoura9638 3 жыл бұрын
Oi professor e se eu quero salvar um elemento de um toast de uma listView que ele selecionou no cadastro como eu represento no firebase para salvar?
@alanc0x
@alanc0x 3 жыл бұрын
Question: It is possible to store the Name and Surname if the user logs into the application using Google/Facebook authentication?
@muhamadirwan99
@muhamadirwan99 4 жыл бұрын
thx u sir
@pauljohn.ytchannel
@pauljohn.ytchannel 4 жыл бұрын
Hi Thanks for this tutorial, may I asked what if you have user role? Like admin and user type, how you gonna do that with firebase
@christoffere425
@christoffere425 4 жыл бұрын
If I have create a database like the following: City name(collection) - Users(Documents + a line called "permission" to decide what layout to send them to later on in that document). I have some test-email adresses. How to I actually connect an email address to the user in that specific collection?
@hammadzafar9704
@hammadzafar9704 4 жыл бұрын
you are just love....
@Mayada_Elsayed
@Mayada_Elsayed 8 ай бұрын
Thanks😫
@peterjanzen9095
@peterjanzen9095 6 ай бұрын
This is almost the exact problem I'm having right now but I'm not using Android Studio, I'm using Visual Studio Code. You wouldn't happen to have a video on that?
@DavidFdez556
@DavidFdez556 3 жыл бұрын
Hi! Thanks for this video! Do you know how could we avoid different users using the same email&password?
@MyNameIsStormSamurai
@MyNameIsStormSamurai 4 жыл бұрын
Hi, i have followed all the steps of the tutorials, the code doesn't generate errors, but when i run it, it doesn't print in the logcat if the documentReference.set(user).addOnSuccessListener(new OnSuccessListener() was successful or not, and it doesn't sore the data in the database. It's like if it doens't do that. Any help? :)
@Bruh-um8qt
@Bruh-um8qt 4 жыл бұрын
Bro I love you
@TonyMontana-gj1wp
@TonyMontana-gj1wp 4 жыл бұрын
Hi Sir, I have follow all of your Videos for Firebase and managed to get it working perfectly. Now I want to create another table inside of my Firebase. I figured I might be able to use the same code but I don't think I can. My problem is with fAuth.createUserWithEmail.... . Since I already created the user on signup page, what should I replace the createUserWithEmail with? I just want to send the data to Firebase. Then call it back on another activity with another button.
@cheongmintan2040
@cheongmintan2040 3 жыл бұрын
Sir, can you do a tutorial about the queue system which users are allowed to be in virtual queue by getting the number and join the queue.
@moeezumer6018
@moeezumer6018 3 жыл бұрын
kindly tell me if i create another page for registration like that with more texts and edit code according to field it will will not create database and my app will struct in previous page not moves on that page what is the problem
@mervinlee450
@mervinlee450 3 жыл бұрын
Hello! How do you save integer or long variable?
@stanioanfelix4481
@stanioanfelix4481 2 жыл бұрын
Sir, I have Corona and I can not go to school, but I wanted to learn how to code Android so I started to follow your tutorials. For this app, the first tutorials were great, I learened a lot, but I have to say that for storing data to firestore ain't working. a follow up would be amazing
@levireal2553
@levireal2553 2 жыл бұрын
My app closes when clicking register button
@linetmshaji1405
@linetmshaji1405 3 жыл бұрын
Can you do one video for multi user-login like admin,student,teacher etc
@surflaweb
@surflaweb 3 жыл бұрын
hello @SmallAcademy i can't save his extra information of the user.. there is not errors nothing happend only the registrarion..please help me.
@surflaweb
@surflaweb 3 жыл бұрын
here is my question in stackoverflow: stackoverflow.com/questions/64419722/firebase-document-reference-does-not-work
@tanmoysaha2271
@tanmoysaha2271 3 жыл бұрын
for multidex error change minimum api level from File->Project Structure->Modules->Min SDK version -> set here 22 or higher
@bryanpolanco
@bryanpolanco 4 жыл бұрын
hi, im wonderign if youve ever seen an error where it says This : (0.6.6-dev) [Firestore]: The behavior for java.util.Date objects stored in Firestore is going to change AND YOUR APP MAY BREAK. To hide this warning and ensure your app does not break, you need to add the following code to your app before calling any other Cloud Firestore methods:
@AtulGupta-jj7ek
@AtulGupta-jj7ek 3 жыл бұрын
Do we need a billing account to put my app in production mode
@infotainment7123
@infotainment7123 4 жыл бұрын
can we use class object instead of map object?
@lokabois4457
@lokabois4457 4 жыл бұрын
Hey, Man great work!!! but I have a problem where the collection is not created in the firebase. Thanks in Advance.
@andreeaiacob8077
@andreeaiacob8077 3 жыл бұрын
I have the same problem. Did you solve it?
@sakinahabibeche3676
@sakinahabibeche3676 4 жыл бұрын
Thank youuu ,i have a question what if i have 2 type of users like in my case it's teacher or student how will you add data to firestore
@SmallAcademy
@SmallAcademy 4 жыл бұрын
You need to setup privilege using flags while creating the user, the tutorial is coming on that soon
@mohammedhissham8719
@mohammedhissham8719 3 жыл бұрын
@@SmallAcademy has this tutorial arrived...
@tenisonbustomi1679
@tenisonbustomi1679 3 жыл бұрын
Bro I have problem. I watch this video to create user and save data is success. So I want to create and save another data but fail. Can you help me?
@memestation555
@memestation555 11 ай бұрын
When i create new user data inserted in database but when i create user with same userid it override it,it doesn't give me error that user already exists...whyy??
@MrKratosYt
@MrKratosYt 2 жыл бұрын
Bro i used the same way as you did but mine data was not stored in the firebase can you help me in solving the solving the problem
@user-en2xt5bs3e
@user-en2xt5bs3e 4 жыл бұрын
Hi, the tutorial was very helpfull!!! thank u. I face aproblem !!!my Genymotion emulator can not run app with firebase authentication and firestore database together . thr app build good in android but the emulator can not display the app, when i delete all the code and dependency relate to the firestore and leave the code only with the firebase authentication the emulator display the app perfectly!! can someone here that now about this problem can please help me! thank u !
@SmallAcademy
@SmallAcademy 4 жыл бұрын
you may need to install gapps into your genymotion emulator.
@user-en2xt5bs3e
@user-en2xt5bs3e 4 жыл бұрын
@@SmallAcademy Hi, it is not helping! which emulator you suggest to use?
@alexubad1986
@alexubad1986 3 жыл бұрын
Hi, can you do the same using Firebase Realtime Database?
@huzaifamunir3295
@huzaifamunir3295 4 жыл бұрын
great sir... i have a problem in my app when ever i want try to login the app stop working. when i signup and then login in a time then app does not crashed when i try to login 2nd time with the same email then app also crashed
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Please share the source code here fb.com/groups/smallacademy
@mauphernandez3928
@mauphernandez3928 3 жыл бұрын
its cool, thank you, but why every chanel creates a login app? :/
@hemnanisanjay3481
@hemnanisanjay3481 4 жыл бұрын
hey what if we passed user email instead of userId in document referance ?
@bhavyatakharchaliya6587
@bhavyatakharchaliya6587 4 жыл бұрын
I did everything in registration page , but after install app i m in registration page all validations work but then i click register it shows my sign activity. while in intent i gave the home activity location but after register button click data was not store in firestore database. so please solve this ,
@vipintalreja4592
@vipintalreja4592 3 жыл бұрын
My app is running perfectly but In my firebase collection is not created?
@jiachowtung1396
@jiachowtung1396 3 жыл бұрын
I want to add a document called "Player 1" to the Collections "Scores." I want to keep track of all the scores for Player 1, no matter how may times the game is played by the same player. In other words, how do you append data to a Firestore document? Can u show me?
@VikasGupta-xg3uv
@VikasGupta-xg3uv 3 жыл бұрын
I have used google sign-in auth how can I do same and store in database?
@imqz
@imqz 4 жыл бұрын
I have a lot of errors, need help! Can I send it to you for help?
@safiaismail8806
@safiaismail8806 3 жыл бұрын
hi . how do you store from a radio button to firebase
@ooyen
@ooyen 3 жыл бұрын
hi sir, can you do tutorial on how to store data of user's location(map)? so that in firestore we can see the location of user
@SmallAcademy
@SmallAcademy 3 жыл бұрын
Sure
@iliji8471
@iliji8471 3 жыл бұрын
Great video, well explained. I currently facing a problem, my app crashed just after clicking on the button and the collection is not created but the authentication tab in firestore works fine. Can you help me with that? Please
@SmallAcademy
@SmallAcademy 3 жыл бұрын
what does the logcat say when app crashed ?
@dlsleaguer8890
@dlsleaguer8890 3 жыл бұрын
@@SmallAcademy it shows error in this line documentReference.set(user).addOnFailureListener(new OnFailureListener() {
@dlsleaguer8890
@dlsleaguer8890 3 жыл бұрын
@@SmallAcademy pls help me
@amilatharanga6206
@amilatharanga6206 3 жыл бұрын
Can you please tell me how to do this with a realtime database
@arfyslowy
@arfyslowy 4 жыл бұрын
i have problem my brother,usrr information not save at firebase database,why ??
@keerthivasan8061
@keerthivasan8061 3 жыл бұрын
3.08 your app is connected with firebase by default.but my app was not connected even if i try to connect it shows error.can anyone helpme please
@knzdespair
@knzdespair 2 жыл бұрын
hello sir help me, after adding firestore sdk, the app always crashing when i run it?
@angiyaz7491
@angiyaz7491 2 жыл бұрын
if i want to profile photo. how can i in firebase ? pleass help
@rushibhagwat4108
@rushibhagwat4108 3 жыл бұрын
Cannot fit requested classes in a single dex file (# methods: 96519 > 65536) getting this error, Please Help!!!!!
@akshimamalhotra4556
@akshimamalhotra4556 4 жыл бұрын
12:34 cannot resolve collection and document Not even Alt+Enter is working or support The project is getting error because of document - expected. >Compilation failed I wanted to share screenshot in fb group but request not accepted.
@akshimamalhotra4556
@akshimamalhotra4556 4 жыл бұрын
Please reply
@akshimamalhotra4556
@akshimamalhotra4556 4 жыл бұрын
Cannot resolve method 'document(java.lang.String)'
@ahmedjaved7923
@ahmedjaved7923 4 жыл бұрын
what about store user profile data in realtime firebase database is there any video about that then kindly share with me thanks
@prasadsanas98
@prasadsanas98 4 жыл бұрын
W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
@majidasad8324
@majidasad8324 4 жыл бұрын
how to upload other data from your account..i mean let i am signin with fire base and i have another form in the app. now i want to upload the data into firebase from the account where i logged in
@SmallAcademy
@SmallAcademy 4 жыл бұрын
You can follow the same procedure , like , in that particular activity extract the data from forms , create new collection and document and insert the data.
@majidasad8324
@majidasad8324 4 жыл бұрын
@@SmallAcademy i will upload like push.child("")??
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Create document reference , create object from the datas that u want to upload and use ref.set(object) to upload
@majidasad8324
@majidasad8324 4 жыл бұрын
@@SmallAcademy ok thnx
@maliknafees8173
@maliknafees8173 4 жыл бұрын
Hi can we use firestore and real time db at the same time? Plz help because I follow your method for firebase authentication but after that when I have to enter data in real time db my app crashes kindly help as their is no error in code
@febrirasyiid4808
@febrirasyiid4808 4 жыл бұрын
Did you get the solution? I got the same problem like you
@samermazraani9011
@samermazraani9011 3 жыл бұрын
hi anyone knows how to store spinner value in firestore I'm new to firebase
@agamshah3038
@agamshah3038 4 жыл бұрын
Can u tell me how to add the data from radiobutton and store it in firebase
@SmallAcademy
@SmallAcademy 4 жыл бұрын
Yeah, its similar to how we extracted data from textview,
@dhanushiyands9123
@dhanushiyands9123 4 жыл бұрын
This tutorial is amazing.I need a ordering app.please you can do a tutorial for that
Samsung Galaxy Z Fold 6: Official Samsung Cases!
13:20
Shane Symonds
Рет қаралды 15 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 57 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 25 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 19 МЛН
Firebase Auth Tutorial #15- Firestore Users Collection
12:54
Net Ninja
Рет қаралды 286 М.
5 Things I Wish I Knew Before Learning Streamlit
21:34
Fanilo Andrianasolo
Рет қаралды 23 М.
Model Relational Data in Firestore NoSQL
9:13
Fireship
Рет қаралды 370 М.
Look at two different videos 😁 @karina-kola
0:12
Andrey Grechka
Рет қаралды 9 МЛН
HugOutdoor #настольныеигры #boardgames #games #игры #настолки #настольные_игры
0:31
Двое играют | Наташа и Вова
Рет қаралды 3,6 МЛН
DESAFIO IMPOSSÍVEL #trending
0:15
O Mundo da Ágata
Рет қаралды 12 МЛН