Тёмный

Login And SignUp In Android With MySQL 

Codes Easy
Подписаться 31 тыс.
Просмотров 405 тыс.
50% 1

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
RU-vid: / 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...
~-~~-~~~-~~-~

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

 

9 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,4 тыс.   
@RaviKumar-yl3lt
@RaviKumar-yl3lt 2 года назад
Bro I can't import my PutData what should I do?
@CodesEasy
@CodesEasy 2 года назад
Check this for android studio artic fox update github.com/VishnuSivadasVS/Advanced-HttpURLConnection#artic-fox-update-only-add-this
@RaviKumar-yl3lt
@RaviKumar-yl3lt 2 года назад
@@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?
@CodesEasy
@CodesEasy 2 года назад
Make sure you have added the jitpack in root and the dependency in app gradle files. Also try, Select File > Invalidate cache and restart
@zororonoroa8847
@zororonoroa8847 2 года назад
@@RaviKumar-yl3lt yow bro, did you finish your code?
@CodesEasy
@CodesEasy 2 года назад
Delete dependencyResolutionManagement from setting.gradle Check github.com/VishnuSivadasVS/Advanced-HttpURLConnection#delete-dependencyresolutionmanagement-from-settinggradle
@jayveedelacruz755
@jayveedelacruz755 3 года назад
This is by far the easiest and no error tutorial for android to mysql connection I've ever seen.
@CodesEasy
@CodesEasy 3 года назад
Happy to see that the video helped
@cr1pt0n54
@cr1pt0n54 2 года назад
Great video, explained everything. I am new in all these things, but still undestood everything. Thanks!!!!
@CodesEasy
@CodesEasy 2 года назад
Happy that the video was helpful for you
@philipchristiansen3824
@philipchristiansen3824 3 года назад
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 :)
@CodesEasy
@CodesEasy 3 года назад
Happy to see that it helped you
@haithamalnakib9238
@haithamalnakib9238 2 года назад
Simple, clear , and direct to the point! Thank you for this effective video
@CodesEasy
@CodesEasy 2 года назад
Happy that you liked it
@dixitjoshi5312
@dixitjoshi5312 4 года назад
So brother you finally come with this video. 💪😃... Hope this will work on latest version of Android Studio.😉 (Your commentator friend)
@sohaibarbii
@sohaibarbii 3 года назад
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 ♥♥♥♥
@CodesEasy
@CodesEasy 3 года назад
Happy to hear that 👍
@agussubagio
@agussubagio 3 года назад
thanks because of you, my project is done bro !!
@CodesEasy
@CodesEasy 3 года назад
Happy to hear that
@manueltomas3266
@manueltomas3266 2 года назад
Pretty easy, working and complete. An amazing job!
@CodesEasy
@CodesEasy 2 года назад
Happy that the video helped you
@raghavsinha5298
@raghavsinha5298 3 года назад
hey! At the sign up page, I get sign up failed. I checked the code and there was nothing wrong. What could be happening?
@CodesEasy
@CodesEasy 3 года назад
Check the api and make sure it is working. Use postman to test.
@josephignacio4733
@josephignacio4733 3 года назад
Same bro how to fix it
@CodesEasy
@CodesEasy 2 года назад
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.
@moosamuhiyuddeenm9780
@moosamuhiyuddeenm9780 3 года назад
Good teaching. Step by step procedure explained very well. Thank you very much.
@CodesEasy
@CodesEasy 3 года назад
You are welcome!
@eyyyy9134
@eyyyy9134 Год назад
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 😭😭😭
@CodesEasy
@CodesEasy Год назад
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. 👍
@bensonemmanuel4924
@bensonemmanuel4924 7 месяцев назад
same issue here
@bensonemmanuel4924
@bensonemmanuel4924 7 месяцев назад
@@CodesEasy You're a genius
@jeraldkasim2363
@jeraldkasim2363 Год назад
Thanks for this bro!! I got it without error
@CodesEasy
@CodesEasy Год назад
Happy that the video helped you
@abdallahmalkawi2511
@abdallahmalkawi2511 3 года назад
Thank You, everything works fine, now I want fetch data inside main activity how ?
@CodesEasy
@CodesEasy 3 года назад
Use the fetch data function, reffer the documentation in GitHub.
@abdallahmalkawi2511
@abdallahmalkawi2511 3 года назад
@@CodesEasy I use it but the return is string not array because that I should clear string ?
@SamuelHernandez-pd9kj
@SamuelHernandez-pd9kj Год назад
Thanks a lot. It works perfect.
@CodesEasy
@CodesEasy Год назад
Happy that the video helped you
@zee3_tv
@zee3_tv 3 года назад
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
@CodesEasy
@CodesEasy 3 года назад
Make sure you have added the jitpack in root and the dependency in app gradle files. Also try, Select File > Invalidate cache and restart
@zee3_tv
@zee3_tv 3 года назад
@@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
@CodesEasy
@CodesEasy 3 года назад
github.com/VishnuSivadasVS/Advanced-HttpURLConnection/blob/master/README.md#example-of-root-gradle-file Example here (updated)
@philipnyirenda1225
@philipnyirenda1225 3 года назад
Hi did you resolve this?Please help
@simulateworld3198
@simulateworld3198 2 года назад
Cool bra🔥🔥. The world needs people like you
@CodesEasy
@CodesEasy 2 года назад
Happy that you liked it
@rafakhan1831
@rafakhan1831 3 года назад
"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
@CodesEasy
@CodesEasy 3 года назад
You need to add a library, check the video
@simzfaluyi1100
@simzfaluyi1100 3 года назад
for the drag mace sure you clicc ctrl+alt
@sirmarktano1829
@sirmarktano1829 2 года назад
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 👍
@CodesEasy
@CodesEasy 2 года назад
Happy that it helped you
@sirmarktano1829
@sirmarktano1829 2 года назад
Ahhmm hello sir do you have any suggestions how can i insert Dropdown menu or Spinner in this tutorial?
@muzakkir-0956
@muzakkir-0956 3 года назад
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"
@CodesEasy
@CodesEasy 3 года назад
It's shown in the video how to fix it. Manifest part.
@kylejoshuatoda2032
@kylejoshuatoda2032 3 года назад
same problem
@brandonduffy3497
@brandonduffy3497 2 года назад
Are you using HTTP for the URL instead of HTTPS?
@hahaha2731
@hahaha2731 2 года назад
@@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?
@CodesEasy
@CodesEasy Год назад
Use http since you are not having an SSL and add clear text traffic to true
@nichlaus
@nichlaus 3 года назад
Slow but sure... I appreciate your approach as it worked...You even added some extra useful information👍👍 Thank you and may God bless you
@CodesEasy
@CodesEasy 3 года назад
Glad that it helped you
@Ervinz86
@Ervinz86 3 года назад
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
@CodesEasy
@CodesEasy 3 года назад
Sure. Will do that
@umbrerax
@umbrerax 3 месяца назад
Love you man, ty for the tutorial
@CodesEasy
@CodesEasy 3 месяца назад
Happy to help!
@zororonoroa8847
@zororonoroa8847 2 года назад
can't import the putData, i already added the jitpack in root and the dependency in app gradle files, and i Invalidate cache and restart.
@CodesEasy
@CodesEasy 2 года назад
Can you specify the error message.
@zororonoroa8847
@zororonoroa8847 2 года назад
@@CodesEasy yow bro,I can't import the putdata so i create the putdata class then I copy your code and paste in it. the sign up is success but when I try to log in, there is an error. help pleaseeee
@srushtinavadiya07
@srushtinavadiya07 Год назад
hello sir, my signup page is working but in login page i got error... Username or Password wrong. and i insert same as in database ! please help me
@CodesEasy
@CodesEasy Год назад
Check the database phpmyadmin and check what username is used. If it's not 2hat you entered, Then check if you are having quotes in the signup java part for the data array. Check it with the video and you will understand
@srushtinavadiya07
@srushtinavadiya07 Год назад
no.... both are same! what i entered and phpmyadmin 's username and i did not apply quotes in data[]..is it problem in database.php file in login function?? query should be "select * from " . $table . " where UserName = '" . $UserName . "and password ='".$password."'"; like this???
@srushtinavadiya07
@srushtinavadiya07 Год назад
I didn't get username from the data base in login function i guess🤔
@ohnolj
@ohnolj 3 года назад
Can someone help me? There is no import data option in my PutData at 28:43, please help me.
@CodesEasy
@CodesEasy 3 года назад
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)
@superchivo1973
@superchivo1973 4 года назад
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?
@HiroonWijekoon
@HiroonWijekoon 3 года назад
Thank you so much. Very clean and clear tutorial
@CodesEasy
@CodesEasy 3 года назад
Happy that it helped you
@carmenonly5570
@carmenonly5570 2 года назад
YOU ARE AMAZING, PLEASE KEEP MAKING MORE VIDEOS :)
@CodesEasy
@CodesEasy 2 года назад
Happy that it helped you
@NeranjanaWijesinghe
@NeranjanaWijesinghe 3 года назад
Thank you very much! You saved me.
@CodesEasy
@CodesEasy 3 года назад
Glad I could help!
@2FPS19
@2FPS19 3 года назад
Amazing video, really good tutorial. Keep up the great work brother!
@CodesEasy
@CodesEasy 3 года назад
Happy to hear that
@luthfillawliet3903
@luthfillawliet3903 3 года назад
Thank you so much This was an Amazing tutorial video Keep the awesome job
@CodesEasy
@CodesEasy 3 года назад
Happy to hear that
@johnefraimcanilang5078
@johnefraimcanilang5078 3 года назад
@@CodesEasy I got an error on this->connect, says Expected type 'mysqli'. Found 'null'
@nahedneji3953
@nahedneji3953 3 года назад
thank you so much , really you help me , this the first time that the application works .really thanks
@CodesEasy
@CodesEasy 3 года назад
Happy that it helped you
@nahedneji3953
@nahedneji3953 3 года назад
@@CodesEasy today the application dosn't work , i don't know why !
@norma6486
@norma6486 2 года назад
Thank you so much for your instructional video, very useful.
@CodesEasy
@CodesEasy 2 года назад
Happy that you liked it
@rajeevthakur4916
@rajeevthakur4916 Год назад
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.
@CodesEasy
@CodesEasy Год назад
You can use something like google volley. There is already a video available on our channel check kt
@mohamedabdelfattah1416
@mohamedabdelfattah1416 2 года назад
thx bro this is the only video that work with me
@CodesEasy
@CodesEasy 2 года назад
Happy that it helped you
@michaelsngh6247
@michaelsngh6247 3 года назад
Amazing video and self explanatory, great work
@CodesEasy
@CodesEasy 3 года назад
Happy that you liked it
@jam7584
@jam7584 2 года назад
thanks for this..i will try to create simple app also..More tutorial please..
@CodesEasy
@CodesEasy 2 года назад
Sure I will
@arlouievasallo2687
@arlouievasallo2687 2 года назад
Hi i have a problem in PutData. I already do the Invalidate cache and restart and the clean project and rebuild but can't Import it how can i resolve it? I added the jitpack but it doesn't work any fix for this sir? Build file 'C:\Users\63906\AndroidStudioProjects\Lastnatalagalezgo\build.gradle' line: 17 A problem occurred evaluating root project 'Lastnatalagalezgo'. > Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'build.gradle' * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. and the exception is to many so i did not include here can you help me?
@CodesEasy
@CodesEasy 2 года назад
Create a new project and check, if it's also showing the error, make sure you downloaded the SDK files properly. Try reinstalling.
@cr1pt0n54
@cr1pt0n54 2 года назад
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?
@CodesEasy
@CodesEasy 2 года назад
NextFragment nextFrag= new NextFragment(); getActivity().getSupportFragmentManager().beginTransaction() .replace(R.id.Layout_container, nextFrag, "findThisFragment") .addToBackStack(null) .commit();
@rasuliskandarov9023
@rasuliskandarov9023 2 года назад
@@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!
@CodesEasy
@CodesEasy 2 года назад
Really happy to hear that
@stominem
@stominem Год назад
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
@CodesEasy
@CodesEasy Год назад
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.
@invkrmb4989
@invkrmb4989 3 года назад
I LOVE YOU!!! CODES EASY!!!! AUTO SUBSCRIBE + RING THE BELL ALL THE TIME!!
@CodesEasy
@CodesEasy 3 года назад
Happy that it helped
@tuxuan3089
@tuxuan3089 2 года назад
Thank you very much, the video is very good and useful!
@CodesEasy
@CodesEasy 2 года назад
Happy that the video helped you
@mohamedisakhussein7612
@mohamedisakhussein7612 3 года назад
thank you, this is awesome project. this video helped me much more.
@CodesEasy
@CodesEasy 3 года назад
Happy that you liked it
@hazebro2044
@hazebro2044 9 месяцев назад
It skips the true statement in login php even though the credentials are correct, it keeps prompting the else condition, why?
@CodesEasy
@CodesEasy 9 месяцев назад
Most probably it should be some typos or minor mistakes you made while typing. Check the post field names, table names etc
@jonggisitorus6296
@jonggisitorus6296 2 года назад
Bro thank you very much and this is very helpful
@CodesEasy
@CodesEasy 2 года назад
Happy that the video helped you
@dhivaakarharisankararao1883
@dhivaakarharisankararao1883 3 месяца назад
bro youre a god, it really helps me. By the way, is there any video that has face recognition using sql data base?
@manishshakya1156
@manishshakya1156 3 года назад
great videos it was very helpful. Thank you
@CodesEasy
@CodesEasy 3 года назад
Glad it was helpful!
@periacentkenneth2290
@periacentkenneth2290 3 года назад
Thank you so much! Amazing Tutorial
@CodesEasy
@CodesEasy 3 года назад
Happy to hear that
@nimrarahim4796
@nimrarahim4796 2 года назад
Hi Sir... Firstly I added jitpack folder but i was unable to import putData lib.. Now I removed it from build gradle and added in the gradle settings according to the requirement of my android studio's updated version but I am still facing the same issue.. kindly give me a solution.
@CodesEasy
@CodesEasy 2 года назад
Check the GitHub link in description.
@TheSlatonTeam
@TheSlatonTeam 2 года назад
Excellent Tutorial Thank you
@CodesEasy
@CodesEasy 2 года назад
Happy that you liked it
@alankritsharma2764
@alankritsharma2764 Год назад
great video, i would be great if you make a tutorial on Login And SignUp In Android With MySQL using Flutter (without Firebase)
@CodesEasy
@CodesEasy Год назад
Sure
@ramisshah2548
@ramisshah2548 Год назад
Hi! When trying to signup, it says failed to connect to the ip address.Although I've added the clear text traffic and internet permission. Need help please!
@CodesEasy
@CodesEasy Год назад
Check the ip address again, the local ip can change so check it every time. I recommend you to use an emulator instead of a real device.
@jiedeng2300
@jiedeng2300 Год назад
Thank you so much for the tutorial and source codes! Subscribe and like!
@CodesEasy
@CodesEasy Год назад
Glad it helped!
@vishalprakash6757
@vishalprakash6757 Год назад
Bro, in my android studio emulator the signup is working. But in the phone I'm getting uncaught_mysqli_sql_exception. What should i do?
@CodesEasy
@CodesEasy Год назад
Check if the api io address is correct.
@mrchauhan1637
@mrchauhan1637 3 года назад
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 RU-vid which will clear out this
@CodesEasy
@CodesEasy 3 года назад
Happy that you liked it
@mrchauhan1637
@mrchauhan1637 3 года назад
@@CodesEasy implementation link is not working please give me a response as soon as possible I found error
@CodesEasy
@CodesEasy 3 года назад
Make sure you have added the jitpack in root and the dependency in app gradle files. Also try, Select File > Invalidate cache and restart
@mihnea4028
@mihnea4028 2 года назад
I can't import PutData class. How can i fix this?
@CodesEasy
@CodesEasy 2 года назад
Make sure you have added the jitpack in root and the dependency in app gradle files. Also try, Select File > Invalidate cache and restart
@mihnea4028
@mihnea4028 2 года назад
@@CodesEasy Nope, still cant.
@53_deepakvishwakarma45
@53_deepakvishwakarma45 2 года назад
@@CodesEasy I'm also facing the same error
@mik_404
@mik_404 3 года назад
Hello, I have this toast: " javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found." Help me please
@CodesEasy
@CodesEasy 3 года назад
Its because the url doesn't have https, local host urls don't have https. So you have to add cleartexttraffic in manifest. Its shown in the video
@mik_404
@mik_404 3 года назад
​@@CodesEasy Thank you !!! The problem was as follows: (my IP)/LoginRegister/signup.php, correct (my IP)/LoginRegister/signup.php I hope, that it's clear (I know English very bad)
@bhraman2277
@bhraman2277 3 года назад
Its working for me thanks a lot.
@CodesEasy
@CodesEasy 3 года назад
Glad that it helped you
@ChiChi-nl1xb
@ChiChi-nl1xb 2 года назад
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?
@CodesEasy
@CodesEasy 2 года назад
Make sure you have added the jitpack in root and the dependency in app gradle files. Also try, Select File > Invalidate cache and restart
@_pmc17
@_pmc17 2 года назад
Hi! why mine is crashing and also when I did sign up again it will say sign up fail?? how do I fix this :
@CodesEasy
@CodesEasy 2 года назад
Check logcat while running, you will see errors and it's cause there.
@mhingjhangang2015
@mhingjhangang2015 Год назад
Thank you for you help. Good tutorial
@CodesEasy
@CodesEasy Год назад
Glad it helped
@jawzab3384
@jawzab3384 3 года назад
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
@jawzab3384
@jawzab3384 3 года назад
@@CodesEasy i know but what is that “value?” Is it my app data that the user is going to insert or the DB column?
@jawzab3384
@jawzab3384 3 года назад
@@CodesEasy and what’s the difference between those two arrays ?
@CodesEasy
@CodesEasy Год назад
Yes, correct
@josephdanieldecius8691
@josephdanieldecius8691 Год назад
I run the app it say android linking failded.. error resource color not found what should i do?
@CodesEasy
@CodesEasy Год назад
Come specific color you have called is not added properly in the colors part
@idle5992
@idle5992 3 года назад
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
@CodesEasy
@CodesEasy 3 года назад
Yes, for local host it's http since you don't have an SSL
@Z3niiTD4rK
@Z3niiTD4rK 2 года назад
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 ?
@CodesEasy
@CodesEasy 2 года назад
Check the logcat for seeing errors
@houssamhariz1194
@houssamhariz1194 3 года назад
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 ?
@CodesEasy
@CodesEasy 3 года назад
Yes, we have videos on fetching data using volley. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CjEWtaZW5Ck.html
@kurtlrnzv_
@kurtlrnzv_ 3 года назад
Hello, I really like your video! btw, I have problem with my database. When I have successfully signup an account to phpmyadmin the inputted personal details is not showing, under the fullname, username and email is the same as it is. And when I login but I just make a random letters it always says "Login Success" I think it is because of the database. Can you help me with this one? Thank you so much.
@CodesEasy
@CodesEasy 3 года назад
You have to make sure you create the api correctly. If you are making any changes from the video it could be the problem. You should test the APIs seperately, use postman and test the api and fix errors.
@tazeem01
@tazeem01 3 года назад
Everything perfect but when I register that shows a Toast of SignUp Failed, any idea?
@CodesEasy
@CodesEasy 3 года назад
This could be error with php api side or with the java signup part.
@ashishpanta614
@ashishpanta614 3 года назад
Hi! Appreciate your work. If i were to use MySQL instead of XAMPP what would i have to do?
@CodesEasy
@CodesEasy 3 года назад
You will have to create tables etc with query and if it's in local host use local ip
@azeemsadiq973
@azeemsadiq973 3 года назад
hi... Getting this error "Username or Password wrong".. while trying to make the loginregister app. all things are ok, but when I click on login button, I'm getting the above error. Kindly help.. Thanks
@CodesEasy
@CodesEasy 3 года назад
Check whether you have added quotes for the data array in java. If yes remove it. Check the video.
@chuyendoiso2041
@chuyendoiso2041 3 года назад
I can't connect android app to mysql Can you help me with !
@CodesEasy
@CodesEasy 3 года назад
Sure. What's the error? If you need us to develop the app for you contact whatsapp.codeseasy.com
@essam4025
@essam4025 2 года назад
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
@CodesEasy
@CodesEasy 2 года назад
Sure, create some token to verify the user and the executive chat
@halalscanner9156
@halalscanner9156 Год назад
it is working with localhost but when I change to ip address the page is not found. Can you help me?
@CodesEasy
@CodesEasy Год назад
That's because of the error in ip address. Use an emulator. Then the changes of getting the ip wrong will reduce
@NIX0015
@NIX0015 Год назад
I need help the signup part works fine but Im having a problem with the login part everytime I run it closes the app what could be the problem? I really need this for my project
@CodesEasy
@CodesEasy Год назад
Check the logcat while running the app for errors . You can find the issue there
@NIX0015
@NIX0015 Год назад
@@CodesEasy thanks bro I already fixed it but I got another problem when I type in the username and password and click the login button it says incorrect username or password even though the data that I typed is exactly what's inside my database
@hedaplan
@hedaplan 3 года назад
How can i save login ? (remember me checkbox button)
@CodesEasy
@CodesEasy 3 года назад
Use shared preference in android
@makingzebraop
@makingzebraop 3 года назад
hello sirr please help i did the what u did but im getting a msg while signing up "username or password" is wrong help me
@CodesEasy
@CodesEasy 3 года назад
Make sure you haven't added quotes for the data array
@xycode
@xycode Год назад
This works perfect for my application and server. But I need to make an arraylist displaying all usernames and passwords from the database. What should I do?
@CodesEasy
@CodesEasy Год назад
Create an api that fetched all the data and use volley or some other http library to fetch it. We have videos on our channel for this
@xycode
@xycode Год назад
@@CodesEasy Thanks. I successfully created one!. You're Vishnu, right? Thanks so much ! ^^
@ProgrammationTricksTips
@ProgrammationTricksTips 3 года назад
Thanks u bro Great tuto love your work
@CodesEasy
@CodesEasy 3 года назад
Glad you like it
@ProgrammationTricksTips
@ProgrammationTricksTips 3 года назад
@@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 ?
@emanuellesiqueirarodrigues1105
hey, i did everything right and its working, the only problem is when i try to login and even with the right username and password its still wrong
@CodesEasy
@CodesEasy Год назад
Check the database if the data entered is correct or not.
@emanuellesiqueirarodrigues1105
@@CodesEasy yes, it's correct
@hainieselin5439
@hainieselin5439 3 года назад
hi! thank you so much for the tutorial . i follow everything and there is no error when i run it. But the app dont appear in my emulator, and state that the apps keep stopping. how can i fix this problem ? thank you in advance .
@CodesEasy
@CodesEasy 3 года назад
Check logcat you will find the error their.
@yashvardhansingh2089
@yashvardhansingh2089 3 года назад
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
@CodesEasy
@CodesEasy 3 года назад
test you api separately with postman, if you are a complete beginner then watch the video again carefully and do it again.
@penguinxed
@penguinxed Год назад
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😢
@CodesEasy
@CodesEasy Год назад
Check the code the Intent part. If you are not able to find the error download the source for the app from the description
@dongge9401
@dongge9401 2 года назад
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
@CodesEasy
@CodesEasy 2 года назад
Make sure you have added the jitpack in root and the dependency in app gradle files. Also try, Select File > Invalidate cache and restart
@hornist2402
@hornist2402 3 года назад
may i ask a question? in the sign up page, i enter all the data and click on "SIGNUP" button. there is an alert "sign up failed". what kind of problem about that?
@CodesEasy
@CodesEasy 3 года назад
Check the if condition, java part, also make sure you wrote everything single line properly as in the video
@azadsingh3545
@azadsingh3545 3 месяца назад
sir, you have to add the url in signup page, from where i can get it? plz sir guide to me 🙏
@Goku69762
@Goku69762 2 месяца назад
i was checking what was the app was about i mean its obvious that when data is given and being taken from database itll react but what about if someone who hasnt signed in?? can they login ?????
@androidstudio1564
@androidstudio1564 3 года назад
Thank you for this tutorial.
@CodesEasy
@CodesEasy 3 года назад
Happy to help
@jdx418
@jdx418 6 месяцев назад
Thank you for the video is the source code also available from your library?
@xycode
@xycode Год назад
I tried scrolling through the comments for solution but seems no one has experienced the same problem yet. The problem is with the Signup android part. I followed every step of the process and I am sure that I put the correct indexes and variable names. java.io.IOException: Cleartext HTTP traffic to "IP ADDRESS" not permitted. I checked the raw http url to both my mobile phone and PC(URL works in browsers) . Xampp server is also running both Apache and MySQL(both are green). The problem seems to be at the PutData("url"). What can I do to solve this problem? (also tried making it https and clearText to true and lots more method but none worked)
@CodesEasy
@CodesEasy Год назад
In manifest file you have to add cleartexttraffic = true it's shown in the video itself
@xycode
@xycode Год назад
@@CodesEasy actually, there was a mistake in my part. Turns out, I did not change the server name from the DBConfig.php to registerlogin. Thanks a lot for this tutorial and for even noticing and responding to my comment. You are now one of my idols in the Programming industry ^^
@nisha.najihah
@nisha.najihah 3 года назад
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?
@CodesEasy
@CodesEasy 3 года назад
You could use Volley or Retrofit
@animelee187
@animelee187 Год назад
I have a problem on clicking the sign up button, its always say that "Sign up success" but never open the Login.class 😭
@CodesEasy
@CodesEasy Год назад
That means the intent is not working, check that part and compare it with the video
@animelee187
@animelee187 Год назад
@@CodesEasy i repeat many time and checking, comparing but I can't find the reason why I can't launch the login
@sisccollege1435
@sisccollege1435 Год назад
Bro can you help me, I always get a result of incorrect username and password. But I check both tables in localhost, PHP codes and the one in Android studio and I can't figure out what's wrong. Pleaseeee
@CodesEasy
@CodesEasy Год назад
Go to the login and signup java part. Check if you have added quotes to the array data. Remove it
@CindyLv-gs5yk
@CindyLv-gs5yk 5 месяцев назад
Hello Sir, so does this means that the app must connect to the same WiFi as the computer to enable it to work?
@hemangimanral
@hemangimanral 3 года назад
Actually I had tried adding the ( addproject{ ) in my code but it is showing some errors, please help me out. This is what it is coming A problem occurred evaluating root project 'LoginRegister'. > Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'build.gradle'
@CodesEasy
@CodesEasy 3 года назад
Its shown in the video. Check it.
@maxflurrynightfury4534
@maxflurrynightfury4534 3 года назад
Thank You, really good tutorial. i want to try for fechdata, but i dont understand how to implemented can we see the php file for fechdata?or you have tutorial for this?thanks
@CodesEasy
@CodesEasy 3 года назад
Check the GitHub url, it's written there
@ZeVaL.
@ZeVaL. 3 года назад
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!
@CodesEasy
@CodesEasy 3 года назад
Sure will make it
@callumlynch5726
@callumlynch5726 2 года назад
When I download the zipped file it is for advanced html how do I find the Login many thanks
@montesericcafeyneb.4244
@montesericcafeyneb.4244 2 года назад
502 BAD GATEAWAY shows when I tried to gt the link for Signup.php database. What to do? Update: I was able to solved this one! New problem, I get the SIGN UP FAILED but don't know what went wrong in the code but I'm still fixing it. NEWEST UPDATE: WE GOT IT! Our app's sign up & log in worked! Thanks a lot ❤ We are trying a multi-user log in/sign up. I dunno how to work on it but i'll try. Thanks btw for this very helpful video! 💖
@CodesEasy
@CodesEasy 2 года назад
Happy that the video helped you
@yasminetouati8690
@yasminetouati8690 Год назад
hi! can you please tell me how you solved the 502 bad gateway?? i don't know what i did wrong
@CaptZacky
@CaptZacky 2 года назад
what IP address should I use in putdata to access the app using my physical device? Thanks in advance
@CodesEasy
@CodesEasy 2 года назад
You can use a real server or make sure you connect the device to the same WiFi network and check the ip address again.
@programmedmonkey5278
@programmedmonkey5278 Год назад
Thank you ;)
@CodesEasy
@CodesEasy Год назад
Happy that the video helped you
Далее
BeastMasters Hawk just had enough #ti13
00:30
Просмотров 203 тыс.
MySQL Server Android Studio JDBC Connection. | java
16:18
Login and Registration in Android Studio
1:53:23
Просмотров 40 тыс.
MySQL con Android Studio (Login con servicios PHP #1)
13:52
BeastMasters Hawk just had enough #ti13
00:30
Просмотров 203 тыс.