Creating Chatting Application in Android Studio Using Kotlin | GeeksforGeeks
In this video, we're going to discuss how to create a Chat Application in Android Studio using Kotlin. The application will consist of a Sign Up / Login Page and will allow you to chat with other users without any hassle. So, let's get started now.
Check Out the Related Articles:
Complete Kotlin Tutorial [www.geeksforgeeks.org/kotlin-...]
Complete Android Tutorial [www.geeksforgeeks.org/android...]
Apply For Video Internship Program - script.geeksforgeeks.org/on-b...
Our courses: practice.geeksforgeeks.org/co...
This video is contributed by Abhay Maurya.
Please Like, Comment, and Share the Video with your friends.
#android #project #kotlin #androidstudio #appdevelopment
Install our Android App:
play.google.com/store/apps/de...
If you wish, translate into the local language and help us reach millions of other geeks:
kzread.info_cs_p...
Follow us on our Social Media Handles -
Twitter- / geeksforgeeks
LinkedIn- / geeksforgeeks
Facebook- / geeksforgeeks.org
Instagram- geeks_for_g...
Reddit- / geeksforgeeks
Telegram- t.me/s/geeksforgeeks_official
Also, Subscribe if you haven't already! :)
Пікірлер: 334
Thank you for such a great tutorial, i've been searching for a long time for this kind of content and i found yours. Rich and straight forward content.
I love your content it is very straight forward the best for programmers personality they want to see things working after long hours of coding!
25:00 for newer versions it will appear the "apply" as an "id" just paste them in the plugin section at the top and if it repeats with an already previous id just delet the new one.
Absolutely is amazing your explaining and everything is simple Many thanks for Abhay Maurya.
So instructive, keep it up!
Thanks buddy, I watched the whole video and applied. Which works fine, do continue great tutorials.
@ashwinnair1035
6 ай бұрын
can you please share your code
Thats so nice video. I did this application with you.
Really wanted this tutorial 🔥
Thanks so much, the app work exact as yours.. looking forward to more video on improving it's functionality and most especially attaching files
@ashwinnair1035
6 ай бұрын
Can you please share your code
Hi sir, thanks for the video. Just to let others know that one year after you published it I was able to get it to work. For some bizarre reason, the chat layout design did not work as expected and all components were all over the place, but after a quick search I was able to get it to work as well. Thanks again.
@karthikprabhu23223
Жыл бұрын
Hello, How did u overcome this problem? Could we connect on LinkedIn Or GitHub regarding this?
@skootz24
Жыл бұрын
@@karthikprabhu23223 For me the fix was to start the project as an "Empty Views Activity" instead of just an "Empty Activity". and whenever a new empty activity is made I use Empty Views Activity instead. That seems to get stuff working, though please be aware that I am new and inexperienced, so not sure what the difference is and if I may be messing something up later on.
@karthikprabhu23223
Жыл бұрын
@@skootz24 Thank you for replying. 😃
@abhishekydv55
4 ай бұрын
bro can you share the source code with us plz... it will be of great help
THANK YOU SO MUCH FOR SHARE THIS CONTENT, ITS JUST AMAZING! ❤️
Great Understanding Video you made thank you
Thanks a lot for this detailed explanation. That is just the best tutorial in creating the chat in Android- step by step, everything is clear. I had some difficulties with the RecyclerView, because my Android Studio didn't except some part of the code in xml file, so I had just deleted a little bit and it started to work. Thanks a lot for this great video !!!!!!!!!!!!!!!!!!!!!!!!!
@sanjayan_n
2 жыл бұрын
Could you please reply with the changes you made...
24:26 , in the new android studio, there is a difference in the build.gradle , there are no such dependencies , Then where to paste that classpath ? Pls reply me ASAP .
Thanks!
Thancx a lot sir, lot of things learned
Simply awesome
In this app, do you load the users existing contacts from the android system ? And also do you listen for contacts changes in android system ?
Thank you so much sir 🙏
I will be going to make this app. Thanks yar.
i have an erron in build.gradle error is all buildscript {} blocks must appear before any plugins {} blocks in the script please help.
you are great, it works properly
24:43 i haven't found a build gradle and dependencies can u help me ?
Thank You, nice tutorial
the best tutorial ever
Thank you very much, my sir
i want your gradle(app) file. will u share the picture of the dependencies?
Thanks for this effort
Thank you very much!
Amazing!
Help!! When connected to Firebase, the button setOnClickListener failed to jump to the sign up page. What should I do?
Do you go over draw over other apps on this? I'm looking to be able to have user click a button that overlays on other apps to send a message that way.
@ishmamrahman877
2 жыл бұрын
you need to use fragments
Thank u very very much sir
Thanks to you sir for this stuff
When I'm adding to the Realtime Database from Android Studio, there it shows the JAVA version instead of KOTLIN. What should I do? Do I continue to add JAVA only?
Amazing Tutorial!!
hello Can you put theis app google play ? is that any securty ıssues about these app ? I am not going t copy these but I am trying to make these kind of application .I just want to learn that If i do this kind of app google play accept this ? thanks !
@ 1:01:45 How do you reference the adapter? It just doesn't work. It appears red and it says unresolved reference. Do I need any dependencies for this? Please help.
@ankitsoni9479
2 жыл бұрын
I had the same problem but then I rechecked And found that I made this file in wrong path ..please recheck tha path
1:06:04 Can I setup Database in LockedMode since the test mode is only for 30days
Completed. Thank you so much sir😌🙏🏻🙏🏻💙
@BadBoy-sc3xv
Жыл бұрын
did you get same gradle as same as in video
@kevinsolanki6232
Жыл бұрын
@@BadBoy-sc3xv no. It was totally different. I guess it's updated that's why. So I added this in Gradle (project) file : buildscript{ repositories { jcenter() } dependencies{ classpath 'com.google.gms:google-services:4.3.13' } }
@ashwinnair1035
6 ай бұрын
can you please share your code
Thank you so much
Great sir👍
Completed Thanks ❤❤
@maisakurajima9194
4 ай бұрын
Can u provide source code?
Can we integrate notification in this app by firebase cloud messaging.... Is it possible?
can you provide for us the manifest file because i dont know how relate each interfaces between them
Thank you! Will try this ASAP
@Trigoter
2 жыл бұрын
Firebaseauth at 29:50 is not working for me, help me.
@shagunchaturvedi2020
2 жыл бұрын
@@Trigoter shut android studio and open again... May be it will work.
@saadkiani8784
Жыл бұрын
Contacts are not showing Can you helpme
haii i'm facing this error java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to android.widget.Button , please help me
sir i got only one type of messages mean reciverroom or senderroom how to handle such problem pls
Thank you sir ji ,
can comeone tell me why only one layout is inflated all messages are in receive layout? even when Im the sender
When you reopen application, it automatically log out, so we have to sign in everytime. That is annoying, can someone suggest how to fix it, or what snippet do i have to use to stay signed in
Amazing
i am having a issue in sign up and login . on signup page its showing authentication failed but on the firebase user is registering . and also login is not happing . authenticating failed is the error. can you give me a hint
cool video)
Great!!!
why use relative layout when you have constraint Layout?
Thank u very much
Awesome work..... Please upload React js project also
Can we download the created app 9n android studio to our phone 📱
Thanks for sharing
Thank you.
You are the best
Thank You for this Sir!
@sandeepaurora9598
Жыл бұрын
hey, can your share source code of this application
Contacts are mot showing 1:24:50
Please do one project Retrofit and room database using MVVM
Just finished the app!!!! Great stuff!!!!!
@nastenkaoo
Жыл бұрын
does it work properly?
@karthikprabhu23223
Жыл бұрын
Does the project run successfully? Could you share the GitHub repo?
@ashwinnair1035
6 ай бұрын
can you please share your code
Awesome!
@Trigoter
2 жыл бұрын
Firebaseauth at 29:50 is not working for me, help me.
Does it work for people with different internets?
I have successfully completed this project
@maisakurajima9194
4 ай бұрын
Hi, did u used Android Studio Iguana?
@jauharansari3113
4 ай бұрын
bro you got the name of all users present in Realtime database in your Recycler View? i don't get the user in my recyclerView . can you explain me please?
@surajverma-ly3px
4 ай бұрын
@@maisakurajima9194 kotlin
@user-um6wt8td9z
4 ай бұрын
Hi can i massage you to send a source code
@surajverma-ly3px
4 ай бұрын
@@user-um6wt8td9z yes
24:35 I have some issues with gradle top level build file, when I opened mine file, it looks different than yours. I don't have buildscript, dependancies and all project, what should I do?
@matwit91
2 жыл бұрын
I did it xd
@srivallisangareddy3599
2 жыл бұрын
Copy buildscript and dependencies from firebase and don't copy all projects Paste buildscript and dependencies above plugins
@nandangureja8975
2 жыл бұрын
@@matwit91 Can you let me know , m facing the same issue
@rolandbogdan8502
2 жыл бұрын
pls help me how did you solve that
@mohamed_gamal6308
2 жыл бұрын
@@rolandbogdan8502 Copy buildscript and dependencies from firebase and don't copy all projects Paste buildscript and dependencies above plugins from Srivalli answer
The firebase gradle thing was hard for me, but I fixed it with this: // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() mavenCentral() } dependencies { classpath 'com.google.gms:google-services:4.3.14' } } plugins { id 'com.android.application' version '7.3.1' apply false id 'com.android.library' version '7.3.1' apply false id 'org.jetbrains.kotlin.android' version '1.7.20' apply false }
@alishershalken1664
Жыл бұрын
Thank you very much!
@fridaee
Жыл бұрын
@@alishershalken1664 np!
@Blaze_-is9yb
Жыл бұрын
Thanks alot
@saikoushik7626
Жыл бұрын
tnx
@bharanishekar4393
Жыл бұрын
thank you so mch man helped a lot
1:10:42 When I try to sign up ,it crashes. In authentication, I can see my users but in database, I cannot. Is there anything I can do to make it right.
@charlesschen1292
2 жыл бұрын
Hi i got the same problem did you get the solution?
hello sir I like your post. I would like to discuss some topic with you. I want to write Xmpp client using Xmpp server. Do I need to use Service, Shaerd Prefence in my work? I want to expand to 1000 users. Similar to Conversation Xmpp client, but I want to configure it myself. your opinion on it
can you make a group chat, that is chatters can join specific groups for shared chat?
How can we send push message like whats app user get alert and he can see ballon popup for new message
Thanks
First of all thank you for this amazing chatapplication got to learn new concepts. I followed the steps as shown but I don't know why as soon as I login the window takes some time and the app crashes. Although I have installed all the dependencies. Can you please help me out
@manasijadhav39
2 жыл бұрын
Hey, try checking in the 'Login.kt' under OnClickListener in val intent you might have typed 'btnsignup' instead of 'Signup'. I made the same blunder.
It would be better to share the source code link.
@VaibhavJariwala-xb2ri
10 ай бұрын
If he does that,then what u will do 😂😂
@maisakurajima9194
4 ай бұрын
Hi can u share it?
I am following the same code as you are doing but my values are not getting stored in realtime firebase. My Authentication is working fine but values are not getting stored. Can you please help on this. I am stuck because of this.
@priyaraja1624
Жыл бұрын
Yes, you are resolve this problem, i'm also stuck this step.please can you help me ?
Bro when we are using @signup and @login it is showing ambiguous error and app is not starting in phone from start it is crashing can you give the solution pls .
I love you content so much!
in signin page else part is running if is not running
It's working for me 💥
@abhishekydv55
4 ай бұрын
bro please share the source code with me
Can you make this same app in Java ?
1:01:30 I'm getting error after typing UserAdapter ---> Saying "Unresolved Reference" someone Please Help..😢🙏
1:34:48 don't mind me, just putting a bookmark for myself
nice
can you please provide git hub repo , or any drive link of this project?
Thank you very helpful
For this what things and language i have to learn
Please answer guys, after firebase setting completed and while clicking signup button its exit with emulator but it should redirecting to the sign up page
@priyaraja1624
Жыл бұрын
Anyone can you help me
Please help me out I am facing too much issues creating this app, I have to add it in my resume
Hi everyone. I have to ask, can we make an app with React js and kotlin ? Somehow to alternate them ? the logic part in kotlin and fe with recat ?
@peterstefanov3594
Жыл бұрын
Probably. You can interlace any code with any other code if you're talented enough. How you end up doing that? I'm not smart enough to know. But if you're simply asking if it's possible, yes.
Great Tutorial!!! But I got a sticky question: "How do I implement a security rule so no user with access to the firebase realtime through console could change any value on the database?" For example, how to avoid that someone could change a message text through firebase console?
@The__Leo69
2 жыл бұрын
By storing encrypted messages.
I have finished the video and coding.. Fixed all the errors until the end. But first app was crushing so I simply added push() to the code. Now no crash but the messages wont pop up. If someone knows the solution please.
@saadkiani8784
Жыл бұрын
Contacts are not showing can you help me
@saadkiani8784
Жыл бұрын
Can't retrieve contact from data base
Please why do i get an error message (Android resource linking failed) Whenever i move the intent -filter In between the activity (login) and the MainActivity
@hammadhassan978
2 жыл бұрын
because when u change the theme in style.xml file to "appcompat.NoActionBar" u did not add the further dependency of appcompat.. only one dependency of appcompat should not compile this file . to remove this error dont change the theme in style.xml or add the correct dependencies
How can I create something like this without using Firebase? on my dedicated server?
Can you make such a series in flutter please
Sir can I know what is the bandwidth?
What architecture are you using here ?