Login And SignUp In Android With MySQL
ฝัง
- เผยแพร่เมื่อ 9 ก.พ. 2025
- Full video on android login and signup with mysql database. Detailed explanations for beginners with easiest, secure and best methods of implementation. Login And SignUp In Android With MySQL, create an awesome looking login and signup (register) forms and also code the functionalities. Using XAMPP in localhost connection fully explained.
Login, Logout, Registration, profile new video link: • Login and Registration...
Download Full Source Code (Updated on 01/01/2023): youtube.codese... (100% working easy with setup)
Read this (Important):
Android Studio latest version there is some updates needed.
Delete dependencyResolutionManagement from setting.gradle
Check: github.com/Vis...
Downloads and resources:
Fonts and Activity XML files: codeseasy.com/...
Login and SignUp PHP Code: github.com/Vis...
Documentation for Advanced HttpURLConnection GitHub: github.com/Vis...
Best server for affordable price, get 200$ on registering using this link refer.codeseas...
Create a wallpaper application, full project tutorial with web base: • Create Wallpaper Appli...
Join our Discord if you have any doubts: / discord
Contact us for any business queries:
Email: mail@codeseasy.com
Phone number: +918281536333
WhatsApp: whatsapp.codes...
Find us on Social Media:
Website: www.codeseasy.com
Discord: / discord
Telegram: t.me/CodesEasy...
Whatsapp: whatsapp.vishn...
Whatsapp group: whatsappgroup....
Facebook: / codeseasy
Instagram: / codeseasy
Twitter: / codeseasyblog
TH-cam: / codeseasy
~-~~-~~~-~~-~
Please watch: "Create Wallpaper Application In Android Studio - Full Project Tutorial For Beginners"
• Create Wallpaper Appli...
How to make money from website (Full Guide)
www.bloggersco...
~-~~-~~~-~~-~
Bro I can't import my PutData what should I do?
Check this for android studio artic fox update github.com/VishnuSivadasVS/Advanced-HttpURLConnection#artic-fox-update-only-add-this
@@CodesEasy bro I saw that but the problem is I can't import class I don't know the reason do I have to import any jar file?
Make sure you have added the jitpack in root and the dependency in app gradle files.
Also try, Select File > Invalidate cache and restart
@@RaviKumar-yl3lt yow bro, did you finish your code?
Delete dependencyResolutionManagement from setting.gradle Check github.com/VishnuSivadasVS/Advanced-HttpURLConnection#delete-dependencyresolutionmanagement-from-settinggradle
This is by far the easiest and no error tutorial for android to mysql connection I've ever seen.
Happy to see that the video helped
Great video, explained everything. I am new in all these things, but still undestood everything. Thanks!!!!
Happy that the video was helpful for you
Awesome! I really appreciate this video. I am studying business informatics in germany and had some issues creating such an app. Thank you so much! Kind Regards :)
Happy to see that it helped you
after 2 week of Searching Volley Problems and gson shit you save my health today i will sleep correctly cuz of you, thank you so much ♥♥♥♥
Happy to hear that 👍
So brother you finally come with this video. 💪😃... Hope this will work on latest version of Android Studio.😉
(Your commentator friend)
Cool bra🔥🔥.
The world needs people like you
Happy that you liked it
thanks because of you, my project is done bro !!
Happy to hear that
Pretty easy, working and complete. An amazing job!
Happy that the video helped you
Hi Amazing video but when i copy the full implementation code from the github in that the PutData i cannot import it only shows to create class not import class.
Please help.
Appreciate your reply
Again thanks for this amazing tutorial
Make sure you have added the jitpack in root and the dependency in app gradle files.
Also try, Select File > Invalidate cache and restart
@@CodesEasy ok i did that thanks now it works but when i click signup button it says all fields required although i have filled all the fields
github.com/VishnuSivadasVS/Advanced-HttpURLConnection/blob/master/README.md#example-of-root-gradle-file
Example here (updated)
Hi did you resolve this?Please help
Thanks for this bro!! I got it without error
Happy that the video helped you
hey! At the sign up page, I get sign up failed. I checked the code and there was nothing wrong. What could be happening?
Check the api and make sure it is working. Use postman to test.
Same bro how to fix it
The code must have error. Most of the time it will be very small mistakes, like wrong placement of brackets or semicolon etc etc. Go through the video once more and check it with your code. You can also download the full source code from description.
Simple, clear , and direct to the point! Thank you for this effective video
Happy that you liked it
Hello Master! can I ask what is the problem with my app and database connection, i just finished the sign up part of the video, When I sign up first time, it is successfull but when I look inside the database, the username, is "username" the full name is "full name" and the email is "email" in the entries. not vishnu or the username i typed. also when i sign in another time using the different names, it says duplicate entry username for key username. I have already spent a whole 4 hours reviewing your vid but i cant find the fault. please anybody help me 😭😭😭
Check the signup java part. You have made a very small mistake of quotes.
Remove the quotes for the data veriables. Check the video the part where we assign username password etc. Just remove the quotes in the array data. That's all. 👍
same issue here
@@CodesEasy You're a genius
Thanks a lot. It works perfect.
Happy that the video helped you
Thank You, everything works fine, now I want fetch data inside main activity how ?
Use the fetch data function, reffer the documentation in GitHub.
@@CodesEasy I use it but the return is string not array because that I should clear string ?
Good teaching. Step by step procedure explained very well. Thank you very much.
You are welcome!
hi brother, great tutorial btw, but when I am pressing sign up after entering details, a buffering sign keeps coming and this error r message comes, as "Java.net.sslhandleshakeexception:jav a.security.cert.certpathvsalidatorexception:Trust anchor for certification
path not found"
It's shown in the video how to fix it. Manifest part.
same problem
Are you using HTTP for the URL instead of HTTPS?
@@CodesEasy I faced the same issue. I already set the usesCleartextTraffic true but it doesnt work. I have check I am using HTTPS not HTTP also. May I ask for you help please?
Use http since you are not having an SSL and add clear text traffic to true
Love you man, ty for the tutorial
Happy to help!
"com.google.android.material.textfield.TextInputEditText " for me is completely red and not underlined red like yours and I cannot drag the text layouts correctly. help pls @Codes Easy
You need to add a library, check the video
for the drag mace sure you clicc ctrl+alt
YOU ARE AMAZING, PLEASE KEEP MAKING MORE VIDEOS :)
Happy that it helped you
thx bro this is the only video that work with me
Happy that it helped you
Hi, Thanks for this tutorial. I would like to proceed with fetch data but 2 php files are not readable(only within the server). Would it be ok if i can request the 2 php file for the fetch data reference so I can study how your fetch data works? thanks
Sure. Will do that
thanks for this..i will try to create simple app also..More tutorial please..
Sure I will
Thank you for you help. Good tutorial
Glad it helped
Keep it up like This...I am to worried about this how should I connect my my Android app to my webserver..
I thought 💭 this is Only one Video on TH-cam which will clear out this
Happy that you liked it
@@CodesEasy implementation link is not working
please give me a response as soon as possible I found error
Make sure you have added the jitpack in root and the dependency in app gradle files.
Also try, Select File > Invalidate cache and restart
its working, thanks alot
Happy that the video helped you
thank you so much , really you help me , this the first time that the application works .really thanks
Happy that it helped you
@@CodesEasy today the application dosn't work , i don't know why !
Bro thank you very much and this is very helpful
Happy that the video helped you
Hello sir thank you for the tutorial it helps me a lot I'm done in my first step on our app thanks again by the way 👍
Happy that it helped you
Ahhmm hello sir do you have any suggestions how can i insert Dropdown menu or Spinner in this tutorial?
I LOVE YOU!!! CODES EASY!!!! AUTO SUBSCRIBE + RING THE BELL ALL THE TIME!!
Happy that it helped
great video, i would be great if you make a tutorial on Login And SignUp In Android With MySQL using Flutter (without Firebase)
Sure
Resolved Thanks Dude!
👍
Amazing video and self explanatory, great work
Happy that you liked it
Its working for me thanks a lot.
Glad that it helped you
Excellent Tutorial Thank you
Happy that you liked it
God continue blessing you. But my app is not going to the login page after passing the credentials and success...It does not load to the main application. Help me sir
Check the login java part. In the if condition check if you have added the intent properly and also check the if condition. Compare it with the video. You can also download the source code from description if needed.
bro youre a god, it really helps me. By the way, is there any video that has face recognition using sql data base?
Thanks from Brazil
Happy that it helped you
Thank you so much for the tutorial and source codes! Subscribe and like!
Glad it helped!
Great video!
Happy that you liked it
Very nice tutorial
Happy that you liked it
Thank you ;)
Happy that the video helped you
WOW good :)
Happy that you liked the video
Slow but sure... I appreciate your approach as it worked...You even added some extra useful information👍👍 Thank you and may God bless you
Glad that it helped you
nice video. thanks
Happy to hear that
Thank you very much! You saved me.
Glad I could help!
Thank you very much, the video is very good and useful!
Happy that the video helped you
Sir is video me login and signup page ki coding php ki h ya java ki? q k ap ny description me php mention kia h
Java and php
Helped me a lot Thank you very much.
Simple query in both case login and signup why using the same class PutData. Shouldn't be using FetchData.
You can use something like google volley. There is already a video available on our channel check kt
Thank you so much for your instructional video, very useful.
Happy that you liked it
great videos it was very helpful. Thank you
Glad it was helpful!
How would you switch login and signup pages, if you worked inside of fragments? 54:58 - You are using intent on line 38 for switching classes, but in my case login and signup pages are inside of different fragments. So, I have to replace signup fragment with login fragment and vice versa. What would you write inside of listener?
NextFragment nextFrag= new NextFragment();
getActivity().getSupportFragmentManager().beginTransaction()
.replace(R.id.Layout_container, nextFrag, "findThisFragment")
.addToBackStack(null)
.commit();
@@CodesEasy You won't beleive how you helped me...I have spent 5 hours today for doing it, and it didn't work because i didn't input right "R.id.layout_container"...Thank you a lot! Keep publishing new videos!
Really happy to hear that
thank you so much man you saved me
Glad that it helped you
thank youuu❤
You're welcome 😊
Thank you so much. Very clean and clear tutorial
Happy that it helped you
Thank you so much bro
Happy that it helped you
Amazing video, really good tutorial. Keep up the great work brother!
Happy to hear that
Thank you Bro!
Happy that you liked it
Thanks 🙏🏿
Happy that you liked it
Thank you so much
This was an Amazing tutorial video
Keep the awesome job
Happy to hear that
@@CodesEasy I got an error on this->connect, says Expected type 'mysqli'. Found 'null'
tanks so much
Happy that it helped you
Thank you for the video is the source code also available from your library?
Thank you so much! Amazing Tutorial
Happy to hear that
Great tutorial.. Thank you.
But There is an error when the signup button is clicked. The error is "javac. Net. SslHandshakeException: javasecurity.cert.CertPathValidationException: Trust anchor for certufication path not found. Would u help me solve this error. Thank you in advanced.
Happy that you liked it
Its fixed in the video, add cleartexttraffic in manifest
Hello Sir, so does this means that the app must connect to the same WiFi as the computer to enable it to work?
sir, you have to add the url in signup page, from where i can get it? plz sir guide to me 🙏
Request sir for Insert, Update Deletes, View, and Search.Thanks sir
Sure
@@CodesEasy thanks very much sir
Hey i saw lot's of people having the same issue as i do, which is the "javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found." i saw your replies saying that you talked about it but your error is at 44:47 and it's a different error. i would really appreciate your help here
*Edit:* I figured it out, it was my mistake to put *https* insead of *http* and android studio was trying to stablish a secure connection
Yes, for local host it's http since you don't have an SSL
Thank You Brother
Happy that you liked it
Wow rly its true
Happy that you liked it.
Thanks
Happy that it helped you
what version of android studio did you use?
Not really sure, but you use the latest version. There is a very little change in the part of creating the project. Everything else is the same
thank you, this is awesome project.
this video helped me much more.
Happy that you liked it
Thanks u bro Great tuto love your work
Glad you like it
@@CodesEasy hiii please yesterday it’s working perfectly but today when iam trying to login to my account the apps crash, I don’t know why ?
Hi ! First of all, kudos on the comprehensive tutorial, and of course the library itself. One question though: what would be the right way to handle json responses with it?
Very helpfull video my friend.I want to ask you how we can check if username and email already exists ?
It's already done in the api side
@@CodesEasy i try it but i register with the same username and email many times there is no check if the user all ready exists
thank you god bless you
Hello sir , i tried to connect to my own database but I couldn't manage it to work. Can you explain how can we do it? Thanks
You have make changes accordingly to the php files
Signup is taking long time and the data is also not getting saved in the database . pls help
and also huge thanks to you brother, awesome video
test you api separately with postman, if you are a complete beginner then watch the video again carefully and do it again.
Thank you for this tutorial.
Happy to help
Can someone help me? There is no import data option in my PutData at 28:43, please help me.
Add dependencies properly and then try invalidate cache and restart
github.com/VishnuSivadasVS/Advanced-HttpURLConnection/blob/master/README.md#example-of-root-gradle-file
Example here (updated)
6:13 can I use android studio for this??
You can use any IDE, but android studio is only for android apps.
thancks for this great tutorial you are the best my friend . plz if you can tell me how to add "forgot password" activity i will be so thanckful
You can mail new password to the email address. Create php api
@@CodesEasy thanck you so mush i will
thanks for the video
and if i compile it to apk will the mysql DB be in the app and keep working ?
Yes, but it is using local host server so it should be connected to the same wifi network. Or you can use a real server.
@@CodesEasy thanks
nice video.
Great tuts do you have any tuts on how to retrieve data from the database.........after upload
Yes create an api like this th-cam.com/video/LAb5yJRz0e0/w-d-xo.html and the use volley to get the data like this th-cam.com/video/CjEWtaZW5Ck/w-d-xo.html
can I do all these process same for java in android studio? what should I do?
Yes, it's using Java.
Hi, first of all thanks for the video it was really helpfull, I need your help with something though when start the app I get a "Launch succeeded" but the app crashes any idea on how to solve this please ?
Check the logcat for seeing errors
Thank you for this explanation, I have a question I would like an answer to
Is it possible to connect the login through php mysql and the chat database be through
Realtime/firebase
Sure, create some token to verify the user and the executive chat
Thank you so much.
I really appreciate this Video.
If you don't mind, I have a question if I want to create this login video and associated iListView with Custom Adapter - Social Media App Design for each user. Can it be done? If so, can you create a video on how to link each user to his/her view? Thank you so much
Yes, you can use the login and listview custom adaptor view and create an application. You just have to make the listview on MainActivity. Just follow the videos you can put them together and do the app.
@@CodesEasy correct but how can I make each user have his/her own videos? Can u create a video or explain the steps?
Please Let me know how it can be done, or if you can create a video on how we can do it that will e great.
Hi sir thank you for this awesome tutorial, If you wouldn't mind, Ido have a question as well regarding the app, after signing up, the app doesn't redirect to the login page, is there a way to fix this problem? been trying to fix it for hours but still failed to do so😢
Check the code the Intent part. If you are not able to find the error download the source for the app from the description
What Apptheme did you use ?
It's shown in the video, 43:45
Thankyouu!! it's works perfectly finee!
but, did you have any idea why in mysql the username, fullname, etc is stored hidden? is that because we using the post method?
because my mysql is not showing the real fullname of user and replace it with only "fullname"
//updt
nvm, found the solution already 😁🙏
It's not hidden, you have made a mistake in the signup java part. Check the data array. Don't use quotes for data array. It's a variable and don't need quotes. That's all. You can also check our new video on the same
@@CodesEasy ahh yaa i see, thank you so much 🙏
hi great video you have here but can you please tell where can i download the SINGUP layouts because that is where i am stuck now
The necessary files are given in the description
thankyou.
Happy that it helped you
God Bless you....
Happy that the video helped you
thank you
Happy to hear
Hey, this is really helpful but now I need help what does Advanced-HttpURLConnection actually do? I mean if I don't want to use the implementation of you file how do I create my own ways of connecting it?
You could use Volley or Retrofit
Thanks for class
Most welcome
awesome content
appreciate a lot bro..