Тёмный

How to Retrieve data from Firebase Database in Android Studio Retrieve data from Firebase in Android 

Coding With T
Подписаться 80 тыс.
Просмотров 133 тыс.
50% 1

😃 Download Complete App : cwtstore.gumro...
In this tutorial, you will learn how to validate and retrieve data from the firebase realtime database in android studio. This video describes how to validate username and password in login screen using regex in android studio and also how to retrieve string values from the firebase database or fetching stored values from firebase.
❌ If Material Design Error OR Go Button Error? www.codingwith...
❌ Error? Updated Video! • 08 - Login UI Design A...
👍 Like what you see? Support the content: www.codingwith...
💨 CODES ------------------------------------
Current Code: www.codingwith...
Complete Bull's Rent Code: www.codingwith...
⭕ Related Videos ------------------------------------
- Splash Screen Tutorial: • Splash Screen Android ...
- Signup Design: • Material Design Regist...
- Gif Images in Android: • How to use a animated ...
- Navigation Drawer: • Android Navigation Dra...
- Dashboard Design: • Create a Modern Dashbo...
- Master Constraint Layout: • Create a responsive de...
- Modern Profile Design: • Modern Profile UI Desi...
⛔ Video's Playlists ------------------------------------
Bull's Rent Playlist: • Bull's Rent Complete A...
Bull's Rent Firebase Playlist: • Firebase series for be...
📝 Recommended ------------------------------------
City Guide Series 2020: • City Guide App - Begi...
Latest Signup Tutorial: • 09 - Login and Sign up...
On-Boarding Tutorial: • 03 (A) - Walkthrough/O...
👀 Subscribe The Channel: www.youtube.co...
💻 Visit Website: www.codingwith...
#codingwithtea #bulls_rent_app_firebase #android_Login_app_for_beginners
If you have any queries please tell me down below in the comments. If you learn something new Like the video and if you are new to the channel hit the Subscribe button.

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 751   
@CodingwithT
@CodingwithT 3 года назад
For App Development: Whatsapp: wa.me/+923060000606​ Instagram: instagram.com/coding_with...​ Twitter: twitter.com/coding_with_tea/​ Facebook: facebook.com/codingwithtea/​ Email: developer@taimoorsikander.com
@techdyno8067
@techdyno8067 3 года назад
Bro please help me this is very important and urgent when i click on go button it goes on splash screen/main activity instead of UserProfile. The code i written is correct.
@inaamart4019
@inaamart4019 4 года назад
Please also make tutorial about how to prevent your app from reverse engineering or code theft. I can understand android is open source but love to watch if you share something like this, progaurd, dexgaurd etc Your all tutorials are easy to understand for beginners, your voice is clear and your code description is great. I am waiting more tutorials
@CodingwithT
@CodingwithT 4 года назад
Thank you :) I will move on it soon
@fireninja897
@fireninja897 3 года назад
You are the absolute best online! I have learned soooo much from your amazing tutorials!
@kanamachi9185
@kanamachi9185 3 года назад
can you please help putextra activityclass to fragmentclass
@CodingwithT
@CodingwithT 3 года назад
Yes
@kanamachi9185
@kanamachi9185 3 года назад
@@CodingwithT how? i unable to solve. everytime seeing value null and textfeild blank. provide solve please or link. Thanks in advance ❤️
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp
@sumanthsuvarna3308
@sumanthsuvarna3308 3 года назад
@@kanamachi9185 can you help me with code?
@kanamachi9185
@kanamachi9185 3 года назад
@@sumanthsuvarna3308 sure I will try my best
@azamovdev
@azamovdev Год назад
Best tutorial for Realtime in android firebase
@CodingwithT
@CodingwithT Год назад
Thank you 😊
@azamovdev
@azamovdev Год назад
@@CodingwithT Please new video uploaded
@balraj357
@balraj357 4 года назад
Hey Taimoor, I followed your tutorial and it was amazing great job and keep up with the work. For some reason, it did not allow me to log in which was a logical error. I had to amend the code this section of the code to this if (passwordFromDB!=(userEnteredPassword)). Apart from this minor issue, the program works perfectly. Great Job!
@testing6718
@testing6718 4 года назад
Hi, same problem as well which enter correct detail will crash itself. but for ur changers, is != which can keyin whatever password to login...
@CodingwithT
@CodingwithT 4 года назад
this one might be with the Database! Your database is working?
@CodingwithT
@CodingwithT 4 года назад
Is your problem solved?
@balraj357
@balraj357 4 года назад
@@CodingwithT Yes because it is saving data
@ridhwan________4640
@ridhwan________4640 4 года назад
@@balraj357 How you change it?
@HidungPesek
@HidungPesek 4 года назад
Alhamdulillah... this man is really know what i looking for, lemme to subscibe ur channle man... haapy ramadhan..
@CodingwithT
@CodingwithT 4 года назад
Thank you so much 😊
@anshkumargarhewal8582
@anshkumargarhewal8582 4 года назад
CONGRATS FOR 10K SUBSCRIBERS IN ADVANCE
@CodingwithT
@CodingwithT 4 года назад
Thank you so much 😀
@yash2399
@yash2399 4 года назад
Nwhere have we set the instructions for on click listener for the go button , i am getting an issue with it , not going to user profile screen.Neither the login page showing error for empty fields Thanks a lot for the wonderful video.
@CodingwithT
@CodingwithT 4 года назад
Please go to the xml of GO button and inside that write android:onClick="and function name here to call the function"
@ZainDiscoveries
@ZainDiscoveries 4 года назад
Make more videos on android studio and pls explain the methodss as well like what is their functionality and why we are using it
@CodingwithT
@CodingwithT 4 года назад
Yes for sure! Thank you 😊
@nitheshkulal9890
@nitheshkulal9890 4 года назад
i am getting error while using .setText(value); and i am not getting suggestions for .setText() in android studio
@CodingwithT
@CodingwithT 3 года назад
Do contact with me on Instagram
@dariuszmaciejewski7272
@dariuszmaciejewski7272 Год назад
did you find solution?
@durotimijohnson554
@durotimijohnson554 4 года назад
Please.... It's nt working for me... Logcat showing attempt to invoke virtual method "boolean java.lang. String.equals(java.lang.Object) " on a null object reference.... Please help
@CodingwithT
@CodingwithT 4 года назад
Its because there is nothing inside the String. Fault is with your Database. Sorry for the late reply.
@durotimijohnson554
@durotimijohnson554 4 года назад
@@CodingwithT Thanks... It's working now... I was using the wrong key
@sujoysaha5900
@sujoysaha5900 4 года назад
@@durotimijohnson554 can u explain plz what key
@aimfit8385
@aimfit8385 4 года назад
Aoa bro I want to go to dashboard first whenever I login after if I can go to profile through menu using fragment, also can I stay logged in until I manually log out Please make a video on it.
@CodingwithT
@CodingwithT 4 года назад
Yes you can logged In! Please consider this as an example ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bBJF1M5h_UU.html
@josephmariga
@josephmariga 3 года назад
Hi, thanks for the video. If I may ask are we supposed to save user password in a form that can be viewed or it has to be hashed?
@CodingwithT
@CodingwithT 3 года назад
It has to be hashed
@someshsahu4638
@someshsahu4638 2 года назад
Nice video brother thankyou so much 🙏🏼🙏🏼🙏🏼
@CodingwithT
@CodingwithT 2 года назад
You Welcome 😊
@vinayn9109
@vinayn9109 Год назад
I love the very clear tutorial but it is hard to apply this in a different situation for a beginner like me so please explain the general idea. Perhaps.
@CodingwithT
@CodingwithT Год назад
Sure thing! Thanks 👍
@darrenphillips5084
@darrenphillips5084 3 года назад
Great video. I think it's important to mention hashing the password with a secure hashing algorithm such as as argon2, scrypt, bcrypt (not md5). It's essential to hash passwords with a secure hashing algorithm.
@TechTuring
@TechTuring 3 года назад
did you know youtube channel / video who discuss it?
@CodingwithT
@CodingwithT 2 года назад
Yes you're right.
@ytacczed
@ytacczed 4 года назад
May i know where you assign full_name_profile email_profile phone_no_profile etc. at 14:47?
@ChloeComedyPlayhouse
@ChloeComedyPlayhouse 4 года назад
I wrote the code exactly like yours and I added the function on the onClick for the Go button and yet the Go button don't seem to function because even if I don't write anything in the username and password fields and click the go button it doesn't even validate them. Can you help?
@CodingwithT
@CodingwithT 4 года назад
hi, sorry to hear that but please check the description!
@mukeshbhardwaj6472
@mukeshbhardwaj6472 4 года назад
Followed all of your video series but in this step where we have to retrieve the data from firebase. I am doing everything the same as shown in the video and on your website. And everything looks perfect but when I run my application the functionalities of SIGNIN Screen is not working. Means nothing happens after launching the application However, there are no errors in the code showing.
@CodingwithT
@CodingwithT 4 года назад
You onClick button is not calling so make sure that the button onClick is mentioned in xml
@mukeshbhardwaj6472
@mukeshbhardwaj6472 4 года назад
@@CodingwithT Yes i setup onClick now But after click on SIgnin Button how to make sure that the screen moves to UserProfile?
@nirbhaychauhan1815
@nirbhaychauhan1815 2 года назад
How we can go to the our main activity on pressed go button and save firebase data in user dashboard activitiy
@CodingwithT
@CodingwithT 2 года назад
Just call the Dashboard using Intent when database data is saved.
@abderrahmanekedadra9749
@abderrahmanekedadra9749 3 года назад
wa aleikoum salam GREAT video Teimoor , just here "reference.child(phone).setValue(userHelperClass);" when you define the USER ID as the phone number then in isUser() method you set the ID as Username " String passwordfromDB = dataSnapshot.child(userEnteredUsername).child("password").getValue(String.class);" I followed your videos from beggining and this error took me a whole morning to notice it
@amareghn6613
@amareghn6613 4 года назад
Could you please make a video for the remember me option in login page and forgot password option? Thank you for your other videos. They helped me alot
@CodingwithT
@CodingwithT 4 года назад
Yes Sure
@if_14_fa
@if_14_fa 3 года назад
Hello sir. Which video did you go over the "protected void onCreate(Bundle saved Instance state)" and "public void callSignUpScreen(View view)" ? I have been trying to fix it, please help
@CodingwithT
@CodingwithT 3 года назад
Hi, Please check login and Signup videos in this playlist for clarity. Bull's Rent Complete Android App Tutorials: ru-vid.com/group/PL5jb9EteFAOD_Tz2dPlsw-1ViOmM57txh Cheers 🥂 😃
@CodingwithT
@CodingwithT 4 года назад
If your GO button is not working OR getting Null pointer exception...then, For GO button => Please go to the button's XML and write this line to call the buttonCode in Java make sure you call the right function for right button! android:onClick="registerUser" For null Pointer Exeption Please make sure that the names you are using to call the database values are exactly same as in the database because that is the reason it's getting nothing
@erif3473
@erif3473 3 года назад
Hi. 4:37 if I write getEditText(), Android Studio said getEditableText(). also if I write either above one, getText() turns red which means error. same as if I write getText()、getEditText() turns red.
@CodingwithT
@CodingwithT 3 года назад
Get Edit Text is for Material design but you should try the second one. Let me know if you still facing any problems.
@jatingautam8068
@jatingautam8068 4 года назад
Sir when I click on Go button in my login activity , my app came back to previous activity
@CodingwithT
@CodingwithT 4 года назад
Please check the errors mentioned in the description
@madhumittal8014
@madhumittal8014 4 года назад
I am having the same problem.. Can you please tell me that ur application is now working or not and if working then how??
@elkinmurillo5623
@elkinmurillo5623 4 года назад
hello, what a great video you have helped me learn new things on android, what can you suggest to add to the app, I want to make a complete app, thanks for your contribution
@CodingwithT
@CodingwithT 4 года назад
Glad I could help! What you want to add? and In which app are you talking too?
@elkinmurillo5623
@elkinmurillo5623 4 года назад
@@CodingwithT Hello! I would love to add something to it that can be stored in firebase, like money accounting or money saving
@mehraritvik
@mehraritvik Год назад
Awesome Content ❤
@CodingwithT
@CodingwithT Год назад
Thank you 😊
@anveshijain4552
@anveshijain4552 4 года назад
UI design 🔥🔥🔥👌👌
@HamzaTalk
@HamzaTalk 2 года назад
i am trying to fitch email instead of username but from past 3 days i am stuck in email fitching and i get error No user register can anyone help me ?
@HamzaTalk
@HamzaTalk 2 года назад
boolean.java.lang.String.equals(java.) This error is coming what should i do
@CodingwithT
@CodingwithT 2 года назад
Make sure that u register users with email instead of username as the root node and store all the user data underneath email node then the fetch method will work
@CodingwithT
@CodingwithT 2 года назад
Means you are not passing the right parameters in some condition use used.
@HamzaTalk
@HamzaTalk 2 года назад
@@CodingwithT let me try Thanks sir
@HamzaTalk
@HamzaTalk 2 года назад
@@CodingwithT i did it but now code is working user can easily signup and login but when i click on login button null pointer exception error occur in the code of if ( pswFdB.equals…….)
@karthikkumar8870
@karthikkumar8870 4 года назад
can u please make a playlist of all the videos its difficult to find next videos in the series
@CodingwithT
@CodingwithT 4 года назад
Ok
@saliyabandara8989
@saliyabandara8989 3 года назад
one and only. excellent.keep it up
@sylvesterdivine9292
@sylvesterdivine9292 4 года назад
Amazing work as always Taimoor 💪❤️ but my app crashes (again) when I tap the go button to login, as soon as I put information on your tutorial into the Public void Loginuser (View view){} I have no idea what to do, I don't even see how it's possible for it to crash
@CodingwithT
@CodingwithT 4 года назад
Thank you :) Not a problem, just check the description and you will get the solution
@sylvesterdivine9292
@sylvesterdivine9292 4 года назад
Upgrade you gradle plugins guys, that should help you. If that doesn't work use your logcat and paste the error online. Everything should work
@pranavnagawade3977
@pranavnagawade3977 4 года назад
this helped me If your app crashes after clicking GO make sure that in your SignUp.java file you have changes reference.child(phoneNo).setValue(helperClass); to reference.child(username).setValue(helperClass);
@amanmotwani4727
@amanmotwani4727 4 года назад
@@pranavnagawade3977 Thanks :-) Yes, After Doing This Do Sign Up first And Then LogIn And Don't Forget to Align the Code by ctrl+alt+L It worked in my case :-)
@callmemine4008
@callmemine4008 4 года назад
@@amanmotwani4727 isn't Working can you send your code on mail abhissatav@gmail.com
@dubstick4335
@dubstick4335 3 года назад
Hi, i got one error: it has something to do with the line of code where I check if the passwordFromDB equals userEnteredPassword. This is the error i get: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp on wa.me/+923060000606
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp on wa.me/+923060000606
@andrewstarling7
@andrewstarling7 3 года назад
Hi! Did you find the problem? Ty :)
@mohamedayad70
@mohamedayad70 3 года назад
same for me
@mohamedayad70
@mohamedayad70 3 года назад
@@andrewstarling7 did you ?
@sachinswami7098
@sachinswami7098 4 года назад
Sir, when i go to next activity it showing me blank edit text but the data is saving properly in firebase.What to do?
@intanhalim4983
@intanhalim4983 2 года назад
Hi do you get solution for this?
@likemecuzudo
@likemecuzudo 4 года назад
on which video did you go over the "protected void onCreate(Bundle saved Instance state)" and "public void callSignUpScreen(View view)" ? Because code is hidden in the video I couldn't add it to my project. So it doesn't work...
@CodingwithT
@CodingwithT 4 года назад
I'll share the code in description so you can get it from there
@berkatakol3325
@berkatakol3325 2 года назад
Hello can u find codes ? if you are find these codes pls share with me
@xbilaldarx
@xbilaldarx 3 года назад
Do you have a video of the same things in this video in kotlin? Or does the code still work in it
@chetanhiwale6502
@chetanhiwale6502 3 года назад
hey man, thanks a lot for this video .It really helped a lot
@osmanforhad1999
@osmanforhad1999 4 года назад
to be honest you are done great job.. Thanks a lot dear.. but in this video problem is with (GO button) that many other mentioned like me.. i think we miss "setOnClickLister" for LoginBtn wich is her(GO)...Please could you mention this section Source code link or any other screen shot for only specific GO Button java code
@CodingwithT
@CodingwithT 4 года назад
Thank you :) but can you please check out the description for the possible solution.
@osmanforhad1999
@osmanforhad1999 4 года назад
@@CodingwithT ok i understand
@dhirajmathankar5068
@dhirajmathankar5068 2 года назад
Thank you so much sir this amazing playlist
@CodingwithT
@CodingwithT 2 года назад
U welcome 😁
@anshkumargarhewal8582
@anshkumargarhewal8582 4 года назад
You did not mention the coding part for login btn
@arpitjai9664
@arpitjai9664 4 года назад
yes i have also searched previous video but i can't find please help us out
@bensonmitigoa2245
@bensonmitigoa2245 4 года назад
Am working on a seat booking android app. I want to know how i can store the data in the database seat number and if its booked or empty and display in a recycler view with different colors,green for empty red for booked.
@CodingwithT
@CodingwithT 4 года назад
just set boolean true or false for it! If booked then store true otherwise false
@bensonmitigoa2245
@bensonmitigoa2245 4 года назад
and how will i retreave it?
@miansohail8747
@miansohail8747 4 года назад
Great job, u r amazing.. Make more videos about forgot password and remember me etc
@CodingwithT
@CodingwithT 4 года назад
Thank you and I'm about to start a complete professional app which will cover every aspect and it will be playstore ready.
@miansohail8747
@miansohail8747 4 года назад
@@CodingwithT ok👍
@angelolorensi5470
@angelolorensi5470 Год назад
this is not working for me, when i click go with nothing in the fields the warning shows, but if i place anything else in the input boxes and press go, nothing happens
@sujoysaha5900
@sujoysaha5900 4 года назад
what should i write in on click listnr of GO button plz any suggestions
@CodingwithT
@CodingwithT 4 года назад
For GO button => Please go to the button's XML and write this line to call the buttonCode in Java make sure you call the right function for right button!
@mr.saurabhpatil
@mr.saurabhpatil 4 года назад
Sir, Registration gets successfully, and get displayed at firebase console too... but whenever I'm trying to log in profile everytime its says that 'No Such User Exist'. What might be problem?
@paulchuwa551
@paulchuwa551 4 года назад
Have you solve this error? I get this error in my project too. When am trying to log in
@mr.saurabhpatil
@mr.saurabhpatil 4 года назад
@@paulchuwa551 trying everyday watching different videos and looking various sources, but till now didn't got any suggestions...
@CodingwithT
@CodingwithT 4 года назад
Hey, sorry for the delay! Can you please share the code?
@CodingwithT
@CodingwithT 4 года назад
Also please recheck that all the names should be same in helper class and also the node names of firebase.
@TheAkashShukla
@TheAkashShukla 4 года назад
yes same problem
@anasmurshed2611
@anasmurshed2611 2 года назад
I wish you more success in your channel (code with tea) I need the code for this feature. public callSiginUpScreen null (display view) { ). It is not explained in your videos. Thanks in advance
@CodingwithT
@CodingwithT 2 года назад
Thank you buddy for nice words. I'll share it in the blog post of this video. You can get it from the link in description
@omrkcmn
@omrkcmn 3 года назад
Why does the database send null values? String passwordFromDb = snapshot.child(userEnterUserName).child("password").getValue(String.class); I print passwordFromDb with Toast it show nothing.
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp on wa.me/+923060000606
@mohamedayad70
@mohamedayad70 3 года назад
did you solve it ?
@omrkcmn
@omrkcmn 3 года назад
@@mohamedayad70 I don't remember. Because its been a long time.
@legendmusheer777
@legendmusheer777 2 года назад
in public void onDataChange i am getting this error Non-static method 'exists()' cannot be referenced from a static context Non-static method 'child(java.lang.String)' cannot be referenced from a static context Non-static method 'child(java.lang.String)' cannot be referenced from a static context Non-static method 'child(java.lang.String)' cannot be referenced from a static context Non-static method 'child(java.lang.String)' cannot be referenced from a static context Non-static method 'child(java.lang.String)' cannot be referenced from a static context bro help
@CodingwithT
@CodingwithT 2 года назад
Please check that your class is somehow static?
@ishankgupta8629
@ishankgupta8629 3 года назад
When I click on go button in login screen my app crashes and no profile screen is opening. What to do?
@CodingwithT
@CodingwithT 3 года назад
Well add some breakpoints and see the error
@tehyufung5830
@tehyufung5830 2 года назад
bro how to solve the error ? 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference. I folllow comment also canot solve it
@CodingwithT
@CodingwithT 2 года назад
Hi, If you still have the error then I've to check your code. Regards 😊
@JDPradyut
@JDPradyut 4 года назад
Bro whenever i try to go to user profile after login..the application stopped... Please help me
@CodingwithT
@CodingwithT 4 года назад
Can you please show me your code? Thanks
@JDPradyut
@JDPradyut 4 года назад
@@CodingwithT Same as your code in your website... nothing changed
@JDPradyut
@JDPradyut 4 года назад
@@CodingwithT The error is in equal function
@CodingwithT
@CodingwithT 4 года назад
@@JDPradyut everything is working here. Does your error solved?
@JDPradyut
@JDPradyut 4 года назад
@@CodingwithT No sir
@apmgaming6854
@apmgaming6854 2 года назад
i am getting error while writing this code in fragment at timestamp 15:48 im not able to use "getintent" even in the below two lines: im getting this Returns the EditText used for text input. email.getEditText().setText(user_email); password.getEditText().setText(user_password); my login and sign-in are activities. And my profile is fragment. i want to display the users info in profile fragment. please help i dont know what to do.
@CodingwithT
@CodingwithT 2 года назад
I'm afraid that u r passing data using the activity technique but sending that to fragment.
@apmgaming6854
@apmgaming6854 2 года назад
@@CodingwithT thank you for replying, im new to this, could you give me an idea of how to write this code in fragment? thank you so much.🙏
@nirukusam
@nirukusam 4 года назад
Sir can you explain shared preference in next video (storing username and password in device using above page)
@CodingwithT
@CodingwithT 4 года назад
Well shared preference need a complete tutorial for better understanding but I'll try my best to incorporate for you.
@nirukusam
@nirukusam 4 года назад
@@CodingwithT Thank you sir
@humanmonsteroids
@humanmonsteroids 3 года назад
Hi thank you so much for the video!! Do you mind sharing the code to have a better overview? Thank you!
@CodingwithT
@CodingwithT 3 года назад
Please buy the code from the site
@wolf-tube9002
@wolf-tube9002 3 года назад
hey !! i've watching all of ur tutorials and they're really amazing but in this video i did everything but when i put a random username which doesn't exists in the login form the error " no such user exists" is not appearing what is the solution ? Thank u
@sunalibhattacherji7143
@sunalibhattacherji7143 Год назад
same
@hariharanmanochrasa7365
@hariharanmanochrasa7365 4 года назад
"if(passwordFromDB.Matches(userEnteredPassword)" This line generates an error in my application. java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference How can I fix it?
@amanpandey6381
@amanpandey6381 4 года назад
Bro have you got the solution , same problem in my case
@hariharanmanochrasa7365
@hariharanmanochrasa7365 4 года назад
@@amanpandey6381 I've got a solution. You should add 2 additional lines just above if(passwordFromDB!=(userEnteredPassword)). for (DataSnapshot snapshot1 : snapshot.getChildren()) final String passwordFromDB = snapshot1.child("password").getValue().toString();
@amanpandey6381
@amanpandey6381 4 года назад
@@hariharanmanochrasa7365 Thank you much sir it's running now
@hariharanmanochrasa7365
@hariharanmanochrasa7365 4 года назад
@@amanpandey6381 You're welcome!
@vighneshpathak9651
@vighneshpathak9651 3 года назад
@@hariharanmanochrasa7365 Hey please can you share me your code of login.java if available.
@ruhithudakara2802
@ruhithudakara2802 2 года назад
nice tutorial, keep it up
@CodingwithT
@CodingwithT 2 года назад
Thank you 😊
@ngbedeogah5585
@ngbedeogah5585 4 года назад
which video came before this. i am confused and when did u create the "public void callsignscreen (View view)"?
@CodingwithT
@CodingwithT 4 года назад
I'll share everything im few hours!
@ngbedeogah5585
@ngbedeogah5585 4 года назад
@@CodingwithT i will be waiting for you
@shreyashpawar9108
@shreyashpawar9108 4 года назад
yes bro,exactly m also confused
@berkatakol3325
@berkatakol3325 2 года назад
@@shreyashpawar9108 Hello can u find codes ? if you are find these codes pls share with me
@asadansar6214
@asadansar6214 3 года назад
How to perform select all operation base on some child attribute in one network call. ie: in your case : select * from Users where phoneNo='564' its should not be dependent on userName
@kruthikav3189
@kruthikav3189 4 года назад
In storing data to firebase you have used onclicklistener and in validation ur using registeruser so I changed the same but my data is not storing in firebase plz help me with this
@CodingwithT
@CodingwithT 4 года назад
hey, Actually many people are doing the mistake with firebase names! Otherwise you can send me your code at support@taimoorsikander.com
@kruthikav3189
@kruthikav3189 4 года назад
@@CodingwithT ok I'll send it tq
@karimfayed4517
@karimfayed4517 3 года назад
The password from DB keeps equaling null and a null pointer exception appears
@vighneshpathak9651
@vighneshpathak9651 3 года назад
Please can you make tutorial other than material UI so that our app gets more nice ui like netflix etc.
@CodingwithT
@CodingwithT 3 года назад
Sure
@kashifsheikh4159
@kashifsheikh4159 4 года назад
Edit image app Make sure you do add the gallery feature atleast, if not the camera one
@CodingwithT
@CodingwithT 4 года назад
Sorry I didn't get you.
@kashifsheikh4159
@kashifsheikh4159 4 года назад
@@CodingwithT make a app that lets you edit picture and allow you to take picture from gallery or camera
@CodingwithT
@CodingwithT 4 года назад
@@kashifsheikh4159 for sure I'll create that. Thank you for the support
@kashifsheikh4159
@kashifsheikh4159 4 года назад
@@CodingwithT will be waiting
@Random-uo8sp
@Random-uo8sp 4 года назад
@@kashifsheikh4159 it will be better if you use Vuforia for live filter instead of AR core as ar services are not supported on all devices
@awdhootkanawade
@awdhootkanawade 4 года назад
am working on a app where one user push data and other one fetch it but when first one dont push data and sec user open app it crashes can you help please how to prevent app from crashing if the data am requesting isnt on database
@CodingwithT
@CodingwithT 4 года назад
you have to add some check before calling the activity as If the data is there do something and else if data is empty then do something else :)
@SharmaJiDe
@SharmaJiDe 3 года назад
where you have set button ?
@CodingwithT
@CodingwithT 3 года назад
Set button for?
@emonkhan8655
@emonkhan8655 4 года назад
when login.java this page write code private Boolean validateUsername() { String val; val = username.getEditText().getText().toString(); if (val.isEmpty()) { username.setError("Field cannot be empty"); return false; } else { username.setError(null); username.setErrorEnabled(false); return true; } } then every getEditText() are showing red marks ..but why?plz solve this problem.
@emonkhan8655
@emonkhan8655 4 года назад
brother i am from Bangladesh . your fb account or whatsapp number can be found?
@CodingwithT
@CodingwithT 4 года назад
It's up and running
@emonkhan8655
@emonkhan8655 4 года назад
@@CodingwithT brother, 2:09 minutes this time we can see the bottom you call Signup screen .i can't understand this code .plz send me this line code .... //call Signup Screen public void callSignUpScreen (View view){ } i mean this line in that video
@emonkhan8655
@emonkhan8655 4 года назад
I face some problem .if you don't mind i can share with you?
@ahmedmustafa8371
@ahmedmustafa8371 4 года назад
brother, as a teacher you are awesome, but i have a problem. when i tap go button the app crashing and out i checked if the database are the same to the call database and put the function android:onClick="loginUser" in login.xml but still crashing ,pls help me and i dont know how to define function prograssbar when i put it error appear
@CodingwithT
@CodingwithT 4 года назад
Problem is with the material design! Update it to 1.1.0 and change the theme style to MaterialComponents.Light.Bridge.NoActionBar
@ahmedmustafa8371
@ahmedmustafa8371 4 года назад
@@CodingwithT thank you bro
@surendirani1689
@surendirani1689 4 года назад
Sign up is working perfectly but having trouble with the login,I have followed your tutorial exactly as explained , but i get the error " No such user exists" every time, pls advice how to resolve it
@sssninja101
@sssninja101 4 года назад
Me Too....please le me know if you found a solution. I'm stuck there too...!!!
@paulchuwa551
@paulchuwa551 4 года назад
Hi there, I made a project that ressemble to your codes but the app stops working suddenly on running when I click login button. On create account there is no error, the error is to use the email and password to log in. How can I solve this?
@CodingwithT
@CodingwithT 4 года назад
Thank you for sharing but the problem is too generic so, i need to know your error.
@Kiubbi9Santi
@Kiubbi9Santi 4 года назад
I found out that in my case, it was because I hadn't added the following lines in the onCreate method. username = findViewById(R.id.username); password = findViewById(R.id.password);
@uzairalishah1080
@uzairalishah1080 2 года назад
Help me plzz i need simple fetch data not first login then get data from fire base help me please
@CodingwithT
@CodingwithT 2 года назад
Just don't run the query to verify. Simply call the node from where you want to fetch and map it on a model. Use it where you like 🤠
@adibah_rzk7908
@adibah_rzk7908 2 года назад
hi sir, i have error for validateusername and validatepassword. i cory exactly from signUp clas, can you help me?
@CodingwithT
@CodingwithT 2 года назад
These are functions I used to do the validation.
@adibah_rzk7908
@adibah_rzk7908 2 года назад
@@CodingwithT i see.. i will try to figure it out how to solve it and thank you sir, u really the best youtubers tutorial for this android coding. really appreciate it
@CodingwithT
@CodingwithT 2 года назад
Thank you 😊
@deepshikhadutta2701
@deepshikhadutta2701 4 года назад
Hi, I have written the code exactly same but whenever I click login, even if the username and password exists it shows an error that no such username exists, what should I do?
@CodingwithT
@CodingwithT 4 года назад
Problem is with your query! Make sure your database users Root node is username and rematch the variables with firebase names as firebase is case sensitive
@deepshikhadutta2701
@deepshikhadutta2701 4 года назад
@@CodingwithT Thank you so much, the problem is solved. But now on clicking the login button it is taking me to a blank activity for some time and then again redirecting me to the 1st sign up screen, please help me with it.
@goodmen8822
@goodmen8822 3 года назад
Hi. I press the Go button and nothing happens. But all data is written to DB. What could be the reason?
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp on wa.me/+923060000606
@Better_Planet
@Better_Planet 3 года назад
It's not a good idea to tell user that user exist but password is wrong!!
@CodingwithT
@CodingwithT 3 года назад
You are right! But it was for just the teaching purpose. I'm glad you share it
@marcoantoniosolisvazquez2614
@marcoantoniosolisvazquez2614 4 года назад
dear timoor please i need your help im using your videotutorials for a important schoolar project and i have the same problem with the go button, i already read all the comments and i cant resolve this :( i writed the same code that you with only difference that im trying what when you click the go button you go to UserProfile class, and next u can click a button called settings and in this class u can do it the same functions of update, please i really need ur help, i think that only read the part of onCreate would sufficent
@CodingwithT
@CodingwithT 4 года назад
Done
@malleswariardamala5247
@malleswariardamala5247 4 года назад
Thanks a lot , Very useful content :)
@kageru_kundayo
@kageru_kundayo 3 года назад
after watching the first section ... then i come here for looking second section.... there are some of thing is kinda confusing a liitle . . . like loginUser( which line it been use actually?? ) ..Am i miss on the first section???????
@nimramalik5305
@nimramalik5305 4 года назад
Amazing work💗..
@CodingwithT
@CodingwithT 4 года назад
Thank you 😊
@pradeepbirla696
@pradeepbirla696 3 года назад
Hello sir,my app is getting crashed and I checked in logcat so it was because showAllData() method and getExtrastring ,how to fix it,please tell
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp on wa.me/+923060000606
@sumanthsuvarna3308
@sumanthsuvarna3308 3 года назад
Can you please mail me the login.java code?
@danieldemba6842
@danieldemba6842 3 года назад
This video is showing how to retrieve data from another activity ...Shared preference not from the realtime database if am not wrong ...
@noraqilah2757
@noraqilah2757 3 года назад
how to retrieve data from firebase in main activity without intent to user profile activity? i mean, after user click login button, user will be directed to another page, and the page will have button to go to user profile. please help appreciate it a lot
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp
@septianbimosaputra2668
@septianbimosaputra2668 4 года назад
Nice video, why my program cannot retreive data from database to the textview in the next activity, but mydatabase read it and connect they Just can't retreive the data
@CodingwithT
@CodingwithT 4 года назад
Need to check your code
@septianbimosaputra2668
@septianbimosaputra2668 4 года назад
@@CodingwithT Im fine, i already solve it by myself. Thankyou
@TidelxD
@TidelxD 4 года назад
i wanna ask u a question that : String passFromDB = dataSnapshot.child(firstName).child("password").getValue(String.class); the dataSnapshot return null on passFromDB i checked the real database on firebase it's not empty i have an error it says thet passFromDB is a null Object can u help please i search for it i tried many solution but that samething
@CodingwithT
@CodingwithT 4 года назад
Hi, it's happening because there can be a problem with the name mismatch so, make sure that the name you are using as password is same in database and also that are you calling the write DB?
@TidelxD
@TidelxD 4 года назад
@@CodingwithT m sure i using a Log.D to chekc if user found on DB or NOT it works and i found the user then i need to get the passworf From DB it returns null -_- :'(
@theapplianceguruZA
@theapplianceguruZA 4 года назад
@@TidelxD Facing the same problem did you find solution for this, the user is found in the database but for password its returning null, even if you put wrong password the app crashes without showing wrong password.
@Bmbawavikram
@Bmbawavikram 4 года назад
@@theapplianceguruZA same problem here
@SweetTokyoo
@SweetTokyoo 3 года назад
bro i want to moved home activity when after login, and then when click userprofile this data will show, how?
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp on wa.me/+923060000606
@sumanthsuvarna3308
@sumanthsuvarna3308 3 года назад
Can you mail me the login screen.java code?
@avederra8787
@avederra8787 4 года назад
my app is running with out any error but the login button is not showing any error or NOT working at all where is the button connected to the code
@CodingwithT
@CodingwithT 4 года назад
Write onClick line inSide your Login Button xml file and pass the function name loginUser in that.
@avederra8787
@avederra8787 4 года назад
@@CodingwithT after this the app is crashing due to line no 107 from ur code can u give me ur email id to contact
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
Hey there I'm creating a chat app and I send msg to a child in firebase and I retrieve the msg of others through onDataChange in value event listener but the problem is when I retrieve msg I their particular activity page it works well but when I leave that page and moves to another person chat and comes back to his chat page Im receiving his last chat against due to the value event listener so I have done another way. It is I have deleted the msg from firebase once I have read it from firebase and put an if condition at onDataChange stating if the firebase value is not empty then perform the task inside onDataChange else not . now it works well but when I go back for twice or thrice and comes back the new msg from him is displaying twice or thrice accordingly to me pls help me.
@CodingwithT
@CodingwithT 4 года назад
Show me the code or follow the upcoming tutorials, it'll help you a lot 😍✌
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
Can u give me ur mail id
@CodingwithT
@CodingwithT 4 года назад
Please have a look at the site for contact details
@iamkalish
@iamkalish 4 года назад
Hi bro, i have an error in getEditText().getText().toString().trim();....It shows error in getEditText(). How to solve this error? Thank You
@CodingwithT
@CodingwithT 4 года назад
Please make sure you have the dependency 1.1.0 and also the right theme in style to make it working! Please check the video in the description
@alg8829
@alg8829 4 года назад
how to enter long text like the title and contents of the book into firebase
@CodingwithT
@CodingwithT 4 года назад
Increase the size of column✌
@alg8829
@alg8829 4 года назад
@@CodingwithT How can I register for private online course? With custom app.. 😁
@alg8829
@alg8829 4 года назад
I already have several applications in the playstore but I haven't used the database yet .. all are written in strings.
@Shafaqnaz_19
@Shafaqnaz_19 4 года назад
Sir I can't be able to show my phone no in display activity why so? 😕😕
@rehbarfaqeer5598
@rehbarfaqeer5598 4 года назад
i can help you if you want.
@CodingwithT
@CodingwithT 4 года назад
Is your problem solved?
@CodingwithT
@CodingwithT 4 года назад
Thank you :)
@BlackMSY
@BlackMSY 4 года назад
Sir can you show me inside of the *protected void onCreate* function please
@CodingwithT
@CodingwithT 4 года назад
sure!
@Kiubbi9Santi
@Kiubbi9Santi 4 года назад
@@CodingwithT can you please send me a link or something as well where I can see what's inside that method. When I hit the GO button, the app crashes. All of my code is exactly the same as yours except for what might be inside the onCreate method since I can't verify what is inside.
@wingeritservice
@wingeritservice 4 года назад
I'm also facing same problem
@isabelrenegado1996
@isabelrenegado1996 4 года назад
I'm using fragment for the profile. How can I use the code to display data on a fragment?
@CodingwithT
@CodingwithT 4 года назад
Well You have to go for the same approach for Database unless assignment etc should be fragment based.
@mrkhan11100
@mrkhan11100 4 года назад
Thankx bro u solved my problem
@CodingwithT
@CodingwithT 4 года назад
Thanks 👍
@soumyaprakashsahu7729
@soumyaprakashsahu7729 4 года назад
Sir, I am getting a null pointer exception while storing the password from database into a string and the login page is not working
@CodingwithT
@CodingwithT 4 года назад
There must be something wrong in the query
@soumyaprakashsahu7729
@soumyaprakashsahu7729 4 года назад
@@CodingwithT I have exactly typed what you have typed for storing password from database
@QuanLe-je2ns
@QuanLe-je2ns 4 года назад
@@CodingwithT me too. the error is 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference. it's can't check the usernameEnter in "/user" . When I debug it's not found childkey of user please help me! :( thank you
@pranavnagawade3977
@pranavnagawade3977 4 года назад
try this If your app crashes after clicking GO make sure that in your SignUp.java file you have changes reference.child(phoneNo).setValue(helperClass); to reference.child(username).setValue(helperClass);
@manojkmr252
@manojkmr252 4 года назад
sir i have face problem in this code is right but enter user name and password than click on go button showing error in IF statement what can i do. String passwordFromDB = dataSnapshot.child(userEnteredUsername).child("password").getValue(String.class); if (passwordFromDB.equals(userEnteredPassword)){
@CodingwithT
@CodingwithT 4 года назад
Well, I've to check the code
@sumayaaldini7298
@sumayaaldini7298 4 года назад
I need to pass data from login activity to profile fragment in bottom navigation ,,,,, do you know any way to do that ??
@Mustafamustafa-mi6ux
@Mustafamustafa-mi6ux 4 года назад
man u r just great thanks a million
@CodingwithT
@CodingwithT 4 года назад
Thank you 😊
@salmenjalleli3386
@salmenjalleli3386 3 года назад
please tell us where and how to use the loginUser function?
@CodingwithT
@CodingwithT 3 года назад
If you watch previous videos then you can easily figured it out. Otherwise let me know please
@thiru.c541
@thiru.c541 3 года назад
@@CodingwithT It's hard to Find💔😭 pls tell us where & how to use the loginUser function!!
@CodingwithT
@CodingwithT 3 года назад
Do me WhatsApp on wa.me/+923060000606
@mncreations2888
@mncreations2888 4 года назад
Hi , I have written the code exactly same but whenever I click login button suddenly the app stops working what should I do
@mncreations2888
@mncreations2888 4 года назад
Pls help me
Далее
2. Retrieve Firebase data to RecyclerView
32:45
Просмотров 68 тыс.