Login And SignUp In Android With MySQL
HTML-код
- Опубликовано: 1 июл 2020
- 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.codeseasy.com/2020/lo... (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/VishnuSivadasVS/Ad...
Downloads and resources:
Fonts and Activity XML files: codeseasy.com/source-codes/20...
Login and SignUp PHP Code: github.com/VishnuSivadasVS/Lo...
Documentation for Advanced HttpURLConnection GitHub: github.com/VishnuSivadasVS/Ad...
Best server for affordable price, get 200$ on registering using this link refer.codeseasy.com/digitalocean
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.codeseasy.com
Find us on Social Media:
Website: www.codeseasy.com
Discord: / discord
Telegram: t.me/CodesEasyOfficial
Whatsapp: whatsapp.vishnusivadas.com
Whatsapp group: whatsappgroup.codeseasy.com
Facebook: / codeseasy
Instagram: / codeseasy
Twitter: / codeseasyblog
RUclips: / 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.bloggerscore.com/make-mon...
~-~~-~~~-~~-~
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
So brother you finally come with this video. 💪😃... Hope this will work on latest version of Android Studio.😉
(Your commentator friend)
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
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
Simple, clear , and direct to the point! Thank you for this effective video
Happy that you liked it
thanks because of you, my project is done bro !!
Happy to hear that
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
Pretty easy, working and complete. An amazing job!
Happy that the video helped you
Amazing video, really good tutorial. Keep up the great work brother!
Happy to hear that
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 ?
"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
Good teaching. Step by step procedure explained very well. Thank you very much.
You are welcome!
Great video, explained everything. I am new in all these things, but still undestood everything. Thanks!!!!
Happy that the video was helpful for 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.
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
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?
Cool bra🔥🔥.
The world needs people like you
Happy that you liked it
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
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
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
Amazing video and self explanatory, great work
Happy that you liked it
Thank you so much. Very clean and clear tutorial
Happy 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 👍
awesome content
appreciate a lot bro..
I LOVE YOU!!! CODES EASY!!!! AUTO SUBSCRIBE + RING THE BELL ALL THE TIME!!
Happy that it helped
thank you, this is awesome project.
this video helped me much more.
Happy that you liked it
Thank you so much! Amazing Tutorial
Happy to hear that
Great Video, amazing channel. The only video on youtube that worked for me in connecting to MySQL. Clear and straight-forward.
I have question; how can I display data from the database in textview or listview ? Do you have any video on that ?
Yes, we have videos on fetching data using volley. ruclips.net/video/CjEWtaZW5Ck/видео.html
Thank you, bro.
You help me a lot!
Happy to help
YOU ARE AMAZING, PLEASE KEEP MAKING MORE VIDEOS :)
Happy that it helped you
Love you man, ty for the tutorial
Happy to help!
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'
thx bro this is the only video that work with me
Happy that it helped you
great videos it was very helpful. Thank you
Glad it was helpful!
HATS OFF DUDE! :)
Glad that it helped you.
Thank you so much for your instructional video, very useful.
Happy that you liked it
Thank you very much, the video is very good and useful!
Happy that the video helped you
Thank you for this tutorial.
Happy to help
Thanks for this bro!! I got it without error
Happy that the video helped you
Thank you very much! You saved me.
Glad I could help!
Resolved Thanks Dude!
👍
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 ?
Thanks a lot. It works perfect.
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?
Awesome! COOOL!!! Greate/// sinks!!!!
Happy to hear that
Bro thank you very much and this is very helpful
Happy that the video helped you
bro youre a god, it really helps me. By the way, is there any video that has face recognition using sql data base?
thank you so much man you saved me
Glad that it 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 !
Hello there and thanks very much for the excellent tutorial ! i realy appreciate it good job.
I do have one problem though with my login. My signup works adding users to the database and it takes me to the login when i try to login with the credentials, there is no error and it just crashes. Please help i dont know what is the problem . On the android studio side there is no error at all. it only crashes on the emulator... i did exactly what you did.... i am not sure but i think it has to do with the android:onClick = "login" attribute in the activity_login.xml file....
Any help would be much appreciated...
thanks for this..i will try to create simple app also..More tutorial please..
Sure I will
Thank you so much for the tutorial and source codes! Subscribe and like!
Glad it helped!
Its working for me thanks a lot.
Glad that it helped you
Excellent Tutorial Thank you
Happy that you liked it
Thank you for you help. Good tutorial
Glad it helped
Great video!
Happy that you liked it
Thanks a lot for this really great tutorial! I got an unknown host exception as well and I'm using an emulator. I checked the ip4 adress of my hosting laptop and it is correct. So I'm a bit lost and would be very thankful for help:-)
@@CodesEasy yes they are both switched on
Hello, can I ask if this will work if I run it through my android device not in the emulator itself. 'cause ive tried using volley and it only works for the emulator.
Thanks for the great tutorial bro! It really helps. But can you give some code for the CRUD especially for the read and update part? Really appreciate it if you can. Cheers!
Sure will make it
When I download the zipped file it is for advanced html how do I find the Login many thanks
its working, thanks alot
Happy that the video helped you
THANKYOU SO MUCHHH
Happy that it helped
Hi I get a notification saying Handler() is deprecated, will that affect the application or is there a work around?
nice video. thanks
Happy to hear that
Hi! That was a really useful and easy code! Thank u so much
I just have a question, at your “parameter” and “data” arrays, what are those variables? The database variables so i can store the data coming from the fields there, or the Java variables???? I got confused
@@CodesEasy i know but what is that “value?” Is it my app data that the user is going to insert or the DB column?
@@CodesEasy and what’s the difference between those two arrays ?
Yes, correct
can you have a continuation of this wherein you make this online? because I don't have any idea how can it be available online.
Do you have example also for displaying the user info at the activity after logging in? for both PHP side and android side, for displaying data from database after logging in to a certain user
Hello sir I have same issues did you find a way to resolve this? Please let me know if so have a great day:)
Mr. I got a problem when I run my application >> It tell me that "javax.net.ssl.sslhandshakeexception" it cannot take data to database
Thank You Brother
Happy that you liked it
Thank you ;)
Happy that the video helped you
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
great video, i would be great if you make a tutorial on Login And SignUp In Android With MySQL using Flutter (without Firebase)
Sure
Much appreciated
👍
I received a Variable 'fullname' is accessed from within inner class, needs to be declared final. Can you help me with this? Thanks!
Can you please help me how to apply Basic Authentication in your code?
Thanks from Brazil
Happy that it helped you
Neat tutorial!
I'd like to create an Admin Page too, so I added usertype on my database. How do I fetch that data and call it on Android studio so that I can create an if statement whether the user is an admin or client? Thank u.
You just have to add that field too in the api files and Database.php functions
brother... if we filled login or signup details so after submit details login or signup its still displaying in filled
we want to clear all filed after submit login button or signup button .. but after login if we goes to back in our android app so the login details is still visible in all filed .. which we dont want to visible after login ...how to solve this
Thank you Bro!
Happy that you liked it
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 bro
Happy that it helped you
Hello! just curious when you copied the handler portion of the codes in, instead of Import Putdata mine is created classs instead
waht should i do
Make sure you have added the jitpack in root and the dependency in app gradle files.
Also try, Select File > Invalidate cache and restart
Great Tutorial! Do you use volley library?
No, a different one is used.
God Bless you....
Happy that the video helped you
Hello! Thank you for such great content!
I am currently a student and would love to use what is in your GitHub repository for open-source contributions. But cannot do so because there is no license. Was wondering if it's possible for you can attach a GNU GENERAL PUBLIC LICENSE to the repository so I can use it in open-source contributions. Thank you!
Sure,, will check 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
16:30 it just doesnt work im stuck for over an hour on a layout part where you have to drag a simple box
You can download the layout, check the description.
hi, can you please make a profile activity that you can also update and edit anytime and will be reflected in the database. Thank you!
A video for CRUD operations will be uploaded soon.
thank you for everything
Happy that you liked it
nice video.
Very nice tutorial
Happy that you liked it
Nice video ! I would like to use the fetch function but I don't know how you did with the php, and the php file is not readable. Where can I find the php file for the fetch ? Thanks
You will get it in the discription.
Hello and thank you for the video its great and helpful. Can you give me an example about fetch ? Especially when you return an array of database. Thank you in advance:))))
It's shown in the video, you also have detailed in the GitHub page
@@CodesEasy Good Evening, I had understand how to retrieve data from mysql. There is another issue with the fetch that i am trying now. I want to make a listview with the data that i get but when i use listview only in one line is the output. How do i split the output with multiple data in different lines? With a little research with json you just write .lenght in the for() loop but with this code i get error. Thank you again.
Thanks for class
Most welcome
WOW good :)
Happy that you liked the video
Hello, I have sync errors when adding to repositories:
> Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'
I follow the step to add jitpack in root gradle 3 times and try in 2 different computers, both have this sync errors, I can't import the PutData, is this method still work now?
Make sure you have added the jitpack in root and the dependency in app gradle files.
Also try, Select File > Invalidate cache and restart
Hi!
Appreciate your work.
If i were to use MySQL instead of XAMPP what would i have to do?
You will have to create tables etc with query and if it's in local host use local ip
Hi, I tried this code and I have a problem in the data, it writed in the data base like this "androidx.appcompat.w" and this "androidx.appcompat.widget.AppC"
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
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 RUclips 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
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.