Create Registration and Login Form in Android Studio using MySQL Database [With Source Code][Part-1]

Поділитися
Вставка
  • Опубліковано 26 лис 2024

КОМЕНТАРІ • 168

  • @amanueladugna8206
    @amanueladugna8206 2 роки тому

    Thankyou very much. I liked your job. From Ethiopia, Oromia

  • @harinaveenkumar
    @harinaveenkumar 5 років тому

    You're the best teacher ever i seen in you youtute hats off bro.....keep on....uploading new android videos bro....

  • @nikitajoshi4859
    @nikitajoshi4859 4 роки тому +1

    I want to run the android application on my phone. So which IP address(like laptop IP address, localhost, mobile IP address) should I give in regURL variable??

  • @tuffstuff8665
    @tuffstuff8665 5 років тому +1

    Thank you brother it works awesone tutorial and explaining.

  • @princembuko826
    @princembuko826 2 роки тому

    Please, I want to know why my registration form is not being loaded to my wamp server.
    The first response is completed because it is showing connection successful but error in registration.
    So it is connecting to the php block, but not sending the data to the database.
    What might be the problem?
    Please I need your help.

  • @faturburhansyah8984
    @faturburhansyah8984 2 роки тому

    please help, Why am I following the source code steps. not saved in the database when running the emulator?
    #help_me

  • @afakihf589
    @afakihf589 4 роки тому +1

    Bro, i have a problem. When already fill the plain text and click button register. The app force close,how i can fix that?

    • @RunCodes
      @RunCodes  4 роки тому

      see the error in stack trace by clicking the run at the left bottom of the android studio after your apps crashed!

  • @k.a.1077
    @k.a.1077 4 роки тому

    ​ Haerul Muttaqin gan mau nanya.kalau buat hak akses bia nggak??semisal di mysql web server buat middleware kayak admin dan pengguna nah ntar pas login di android langsung masuk ke menu yangsudah di middleware?terima kasih

  • @boomclap267
    @boomclap267 4 роки тому +2

    Hello sir, so you are probably gonna tell me to check my code but I've watched the video twice i followed every steps and I've got no problems with the code.
    I'm not getting any errors but there is no response when i click "Register" and nothing on the database.
    But i think it has to do with the localhost thing that you mentioned (the numbers that you were inserting).
    So please, i kindly ask you....be more specific about it! (I can't clearly hear what you said)
    TNX😊

    • @RunCodes
      @RunCodes  4 роки тому

      first you have to have internet connection and give permission to use internet in your app manifest!

    • @boomclap267
      @boomclap267 4 роки тому

      @@RunCodes it's already done....
      Still not working sir

    • @RunCodes
      @RunCodes  4 роки тому

      Contact us on facebook!

  • @fadwahsissou1673
    @fadwahsissou1673 4 роки тому

    you are the best teacher

  • @aimanali6013
    @aimanali6013 2 роки тому

    Sir please guide me how to update sign up profile if user want to change his contact number or name

  • @meetpatel1510
    @meetpatel1510 4 роки тому +1

    App is run but in datbase information not stored please fix this problem

    • @RunCodes
      @RunCodes  4 роки тому

      Check your code again!

  • @abhishekranjan1094
    @abhishekranjan1094 4 роки тому

    Sir where I can learn full android development courses

  • @joydhonchakma6370
    @joydhonchakma6370 4 роки тому

    Gretting sir,
    Sir, 31:44 at that time when write inherited method in your ide it didn't show any error. why in my ide it shows error and not suggestion. it said that,"A Non-static method 'write(java.lang.string)' cannot be referenced from a static context". Can you please explain or solve it, sir. i will be honored if you help me.
    BufferedWriter.write(insert_data); from that .write shows an error.

    • @RunCodes
      @RunCodes  4 роки тому

      Do not write your code inside the static method or define that variable as static inside the class before using it.

    • @joydhonchakma6370
      @joydhonchakma6370 4 роки тому

      @@RunCodes thank you sir. But i solve it already. I am fetching now another problem in php.May be it's for $_SERVER['REEQUEST_METHOD']=='POST'. Because this function is very old. Please if you have any update code. can you write it here. sir.

  • @utsavparajuli7548
    @utsavparajuli7548 3 роки тому

    Please make part 3 where after the login we can get access to the another activity

  • @pamelagueke9811
    @pamelagueke9811 2 роки тому

    I tried this for the login and my app keeps stopping, when i cick on login button. my code is not showing any error ,I DONT UNDERSTAND.

    • @RunCodes
      @RunCodes  2 роки тому

      See the stack trace to spot error!

  • @creatorspool206
    @creatorspool206 5 років тому

    "import android.support.constraint.ConstraintLayout ". I get an error after using that on the BackgroudTask.java. It states that cannot resolve ConstraintLayout symbol. Am currently using android studio 3.5.1. Kindly help.

    • @RunCodes
      @RunCodes  5 років тому

      Contact us on facebook

  • @muhammadfahmizainuddin5657
    @muhammadfahmizainuddin5657 5 років тому +1

    i got error when i clicked register and it said that connection success and Error request method.. please help me. Thank you

  • @lionelrynjah8021
    @lionelrynjah8021 4 роки тому

    how to run on a live device smartphone, any changes in reqURL?

    • @jaykundaliya6132
      @jaykundaliya6132 4 роки тому +1

      Try to set your computer URL

    • @RunCodes
      @RunCodes  4 роки тому

      for real devices10.10.2.3 for real devices!

  • @andresleoncifuentes7942
    @andresleoncifuentes7942 4 роки тому

    I do not understand English very well but everything is correct my only question is where did you get the ip that I did not understand and the app does not open it, it closes itself without notifying me of errors, help me, thanks for answering!

    • @RunCodes
      @RunCodes  4 роки тому

      see your code again, the ip for localhost!

  • @mayati6629
    @mayati6629 2 роки тому

    i have an error
    java.lang.IllegalStateException: You must either set a text or a view

    • @mayati6629
      @mayati6629 2 роки тому

      some one please help me?

  • @anamtayousuf5916
    @anamtayousuf5916 3 роки тому

    I have check my codes several times ,there is no mistake and hence I m getting no error but after filling form when I click on register nothing happens and the window just closed

    • @RunCodes
      @RunCodes  3 роки тому

      Just see php code and mysql database and then control initialization!

  • @prajwalpadmanabhan
    @prajwalpadmanabhan 4 роки тому

    iam getting error like....error: ')' expcted
    outputstreamwriter outputstreamwriter=new outputstreamwriter(outputstream, charsetName "UTF-8");
    how to remove this ?

    • @RunCodes
      @RunCodes  4 роки тому

      have a look at your code, you may have error in outputstremwriter.

  • @peterfernandes9011
    @peterfernandes9011 4 роки тому

    should i be using the same address 10.0.2.2 if im testing on my phone. im getting error->java.io.IOException: Cleartext HTTP traffic to 10.0.2.2 not permitted

    • @RunCodes
      @RunCodes  4 роки тому

      Use emulator!

    • @peterfernandes9011
      @peterfernandes9011 4 роки тому

      @@RunCodes no luck
      same error . Error atoutputstreamwriter and d url

    • @RunCodes
      @RunCodes  4 роки тому

      Check your code on streamwriter!

  • @prateeksahu8954
    @prateeksahu8954 5 років тому

    i am getting an error 302 found the doucument has moverhere
    what to do????
    i am using online server

    • @RunCodes
      @RunCodes  5 років тому

      give your online server IP.

  • @dpa4096
    @dpa4096 4 роки тому

    Sorry, im just dont understand. Why u use underscore when u declarated the id?
    Thank you.

    • @RunCodes
      @RunCodes  4 роки тому

      you can use whatever you want considering the rule of variable declaration.

  • @drashtikariya4715
    @drashtikariya4715 3 роки тому

    Sir file not found exception occurs while am using php file url

    • @RunCodes
      @RunCodes  3 роки тому

      specify the file in exact location!

  • @hitanshumaniyar7587
    @hitanshumaniyar7587 4 роки тому

    I am not be able to resolve 10.0.2.2 , my database isn't updating what should I do???

    • @RunCodes
      @RunCodes  4 роки тому

      have a look at your php code!

  • @sonamsahoo2820
    @sonamsahoo2820 5 років тому

    The data that I have entered is not shown in the database and also when I click register "connection success" message doesnt appear. Can anyone help me out?

    • @RunCodes
      @RunCodes  5 років тому

      all we can say is check your code!

  • @arbazansari5258
    @arbazansari5258 4 роки тому

    Thank you so much sir for the tutorial

    • @RunCodes
      @RunCodes  4 роки тому +1

      you welcome 😊

  • @benkass7661
    @benkass7661 5 років тому +1

    what is the regURL? ("10.0.2.2/Example/andphpreg.php" ), is it where you save the database?

    • @RunCodes
      @RunCodes  5 років тому

      Watch video!

    • @benkass7661
      @benkass7661 5 років тому +3

      @@RunCodes I watched it but couldn't understand because of your bad mic quality (no offense)

  • @desettierajkumar8616
    @desettierajkumar8616 5 років тому

    Sir help me ! I'm getting an error : connection successful error in request method.

    • @RunCodes
      @RunCodes  4 роки тому

      use post method both in android and php!

  • @sahanavalli2213
    @sahanavalli2213 5 років тому

    Sir thank you for this tutorial and the best in my registration form I have radiobutton and spinner how to add that values please provide the code

    • @RunCodes
      @RunCodes  5 років тому +2

      for spinner: stackoverflow.com/questions/25229247/add-chosen-option-in-spinner-into-database
      for radio button: ua-cam.com/video/9i8-64ZxSnk/v-deo.html have a look at these series you will understand

  • @amirulafiqimahdi2586
    @amirulafiqimahdi2586 5 років тому

    it says "error: non-static method append(String) cannot be referenced from a static context"
    please help me bro , ive followed every steps from your video and i cant run it.

    • @RunCodes
      @RunCodes  5 років тому

      Make that string variable both public and static while your are declaring it.

    • @amirulafiqimahdi2586
      @amirulafiqimahdi2586 5 років тому

      @@RunCodes and how's that ? can u show an example of coding ?. sorry im newbie

  • @wanahmadshailfulddeenbinwa4790
    @wanahmadshailfulddeenbinwa4790 5 років тому

    Any chance for a tutorial on multi user login and registration with mysql and php using android studio. I've look into so many videos in youtube for that topic, still can't find any. How can I pm you personally.

    • @RunCodes
      @RunCodes  5 років тому

      ua-cam.com/video/zSgrMVt_MFg/v-deo.html combine this video with this video!

  • @JustinsChannel
    @JustinsChannel 5 років тому

    Sir does this work in a non root? what i mean is I am currently using not rooted android device. does this work?

  • @lauramariaoprea9210
    @lauramariaoprea9210 3 роки тому

    Hi! I have "error in request method" in registration.php .I have the same code.. Help me please:(

  • @NaveenKumar-wj2qo
    @NaveenKumar-wj2qo 5 років тому +1

    0:35 sir plz send me the pic

  • @ateebhossain5230
    @ateebhossain5230 5 років тому

    I wrote same code but in my app when i click on register button , it returns nothing

    • @RunCodes
      @RunCodes  5 років тому

      watch video first and then write the code.

  • @dpa4096
    @dpa4096 4 роки тому

    23:34 i dont understand about the ip? Where u get it?

    • @RunCodes
      @RunCodes  4 роки тому

      it's localhost ip address!

  • @nimrarahim4796
    @nimrarahim4796 2 роки тому

    hey where can i get the second part of this video?

    • @RunCodes
      @RunCodes  2 роки тому

      Create Registraion and Login Form in Android Studio using MySQL Database [With Source Code][Part-2]
      ua-cam.com/video/yUWuQTQw7tc/v-deo.html

  • @majetyprashanth1590
    @majetyprashanth1590 4 роки тому

    I don't know why the localhost website is not opening for me can u help with that plz

    • @jaykundaliya6132
      @jaykundaliya6132 4 роки тому

      There is 2 possibility to happen this
      1. you do not start your apache
      2. Try this (your_apache_port /localhost/myphpadmin)

    • @RunCodes
      @RunCodes  4 роки тому

      Run your server!

  • @utsavparajuli7548
    @utsavparajuli7548 3 роки тому

    Can you show the another activity after login success

    • @RunCodes
      @RunCodes  3 роки тому

      use intent to show nother activist

  • @harijaganathbonda5167
    @harijaganathbonda5167 4 роки тому

    socket failed: EPERM (Operation not permitted) Sir i am getting this error.plz can you help me
    to solve this error.

    • @RunCodes
      @RunCodes  4 роки тому

      stackoverflow.com/questions/56266801/java-net-socketexception-socket-failed-eperm-operation-not-permitted here you go!

  • @vincedeguzman4011
    @vincedeguzman4011 5 років тому

    Im using NOX emulator is there any code that i need to change ?

  • @myebooks5377
    @myebooks5377 5 років тому

    I need to Create Multi User Login Apps in Android using Firebase. Can u help me?

  • @abhishekranjan1094
    @abhishekranjan1094 4 роки тому

    Sir when I run my new file in android studio.. My previous fail is running... Plz help me 😫😫😫😓😓😓😓😓😪😪😪😪
    Plz sir 🙏🙏🙏🙏🙏🙏

    • @RunCodes
      @RunCodes  4 роки тому

      file>open your project.

  • @Naruto77695
    @Naruto77695 4 роки тому

    how to stored gender value radiobutton value please solve my problem

    • @RunCodes
      @RunCodes  4 роки тому

      stackoverflow.com/questions/36517777/how-to-store-radio-button-value-in-sqlite-database-in-android-im-using-radio-gr here you go!

  • @philipchristiansen3824
    @philipchristiansen3824 4 роки тому

    I really tried everything but still not working. Maybe its outdated. Greetings

  • @johnmarvinpadre4080
    @johnmarvinpadre4080 5 років тому

    how can I solve this? connection Successerror in request method

    • @RunCodes
      @RunCodes  5 років тому

      Check your code again!

    • @joydhonchakma6370
      @joydhonchakma6370 4 роки тому

      @@RunCodes same problem. may its for old function

  • @wanahmadshailfulddeenbinwa4790
    @wanahmadshailfulddeenbinwa4790 5 років тому

    As all the guys before, I have followed every steps from your video. When I run in emulator, nothing happen. When I click on the register button, no notification about connection and when I check the database, no data. Please help

    • @tuffstuff8665
      @tuffstuff8665 5 років тому

      Have you check your php script? And change your url link? Because you have your own ip and php location folder or whatever.

    • @wanahmadshailfulddeenbinwa4790
      @wanahmadshailfulddeenbinwa4790 5 років тому

      @@tuffstuff8665 php is in folder - c:\wamp64\www\Example\andphpreg.php same as tutorial

    • @tuffstuff8665
      @tuffstuff8665 5 років тому

      You created folder inside www that is named Example and named your php file as andphpreg.php? If yes then check your URL inside the background task class in android studio

    • @tuffstuff8665
      @tuffstuff8665 5 років тому +1

      You have to change the ip address. To get your own ip address go to cmd if you are using windows then type ipconfig then look for the ipv4 address there beside that you will see your ip address then go copy it and replace the ip that you've watch

    • @RunCodes
      @RunCodes  5 років тому

      give internet permission in your manifest.xml file!

  • @bikrampoudelcomputing2035
    @bikrampoudelcomputing2035 3 роки тому

    will it work for online too?

  • @manikandan00354
    @manikandan00354 4 роки тому

    Sir i change but again 39:23 error what i do sir

    • @RunCodes
      @RunCodes  4 роки тому

      See your apps log!

  • @emmanuelgojit5099
    @emmanuelgojit5099 5 років тому

    Sir, where's the other part of your video tutorial?

    • @RunCodes
      @RunCodes  5 років тому

      ua-cam.com/video/yUWuQTQw7tc/v-deo.html

  • @yogianggoro7095
    @yogianggoro7095 5 років тому

    sir where place for php?? and from where ip 10.0.2.2

  • @alec6780
    @alec6780 5 років тому

    Can i use this in android studio?

  • @maureencatura1538
    @maureencatura1538 4 роки тому

    It shows Connection Success and Error in Registration. What's my mistake? Thank you for answering!

    • @RunCodes
      @RunCodes  4 роки тому

      check your code again!

    • @romathakur8927
      @romathakur8927 3 роки тому

      @@RunCodes I'm getting error on public class BackgroundTask extends AsyncTask and Toast.makeText(context, s, Toast LENGTH_LONG).show(); what is my mistake? My app crashes, automatically goes to homescreen. And when I write import android.support.constraint.ConstraintLayout; then it automatically remove from file.

    • @RunCodes
      @RunCodes  3 роки тому

      wherever you get the red underline move your cursor to that line and from keyboard press ctrl+alt and couple of classes will display select the classes and press enter!

    • @romathakur8927
      @romathakur8927 3 роки тому

      @@RunCodes I didn't get red line. I get this two errors in logcat.

    • @RunCodes
      @RunCodes  3 роки тому

      what's the error?

  • @nagaraj3839
    @nagaraj3839 4 роки тому

    store in null value in my phpmyadmin page

    • @RunCodes
      @RunCodes  4 роки тому

      Check your sql code!

  • @mostofaomarfattharusho8080
    @mostofaomarfattharusho8080 5 років тому

    Give a solution for connecting with android mobile not virtual device.

    • @RunCodes
      @RunCodes  5 років тому

      Watch video clearly I explained everything !

  • @RiyazKhan-mw1or
    @RiyazKhan-mw1or 5 років тому

    sir how to sand notice notification in Android studio...

    • @RunCodes
      @RunCodes  5 років тому

      ua-cam.com/video/KwmQeq7nrPI/v-deo.html Here you go!

    • @RiyazKhan-mw1or
      @RiyazKhan-mw1or 5 років тому

      @@RunCodes sir mujhe notice sand karni h usmai title or description bhi aana chahiye or click krne pr notification open hone chahiye plz sir iska video banoo na...

    • @RunCodes
      @RunCodes  5 років тому

      Watch that video! All thing what you need is in that video!

    • @RiyazKhan-mw1or
      @RiyazKhan-mw1or 5 років тому

      @@RunCodes but sir jab notification pr click kr rhe h to wo open nhi ho rhi h

  • @peterfernandes9011
    @peterfernandes9011 4 роки тому

    Thanks!

  • @liviusamuel2680
    @liviusamuel2680 5 років тому

    I followed all steps from video and link from description and it nothing happened after I tested REGISTER and LOGIN. It appeared an empty circle space only and nothing is saved on the database from phpMyAdmin. Could you help me, TechSupportNep?

    • @tuffstuff8665
      @tuffstuff8665 5 років тому

      Try running in postman your php script if you can save data from there if it fails then you have a problem on your php script then if it works check your url link because you have your own ip address

    • @elizabethjoseph9580
      @elizabethjoseph9580 5 років тому

      I had faced the same error. In the php file, for the insert and select statement, there is no need of " ' " for the table and column names.
      ie: Change the below:
      $query="INSERT INTO member(name, address, email, username, password) VALUES ('$name', '$add', '$email', '$user', '$pass')"; (in register.php)
      $query="SELECT username, password FROM member WHERE username='$user_name' and password='$pass_word'";
      (in login.php)

  • @nareshkumar-zn1vw
    @nareshkumar-zn1vw 5 років тому

    I try but not working

  • @syrhashanearcano2474
    @syrhashanearcano2474 3 роки тому

    Hello can I ask?

    • @RunCodes
      @RunCodes  3 роки тому

      Sure!

    • @syrhashanearcano2474
      @syrhashanearcano2474 3 роки тому +1

      It's not working. I mean when I click register in my emulator. It goes back to home screen.

    • @syrhashanearcano2474
      @syrhashanearcano2474 3 роки тому

      Same as log in

    • @RunCodes
      @RunCodes  3 роки тому

      You may have problem in your php code again check your android side code also! You have to have a internet connection while doing this project!

  • @abhishekranjan1094
    @abhishekranjan1094 4 роки тому

    Sir I did So many errors plz suggested me 🙏🙏🙏🙏🙏🙏😰😰

  • @calebdavid7549
    @calebdavid7549 3 роки тому

    part 2?

    • @RunCodes
      @RunCodes  3 роки тому

      ua-cam.com/video/yUWuQTQw7tc/v-deo.html

  • @aziroolfareed2469
    @aziroolfareed2469 4 роки тому

    I FUCKING LOVE YOU ❤️❤️❤️❤️❤️❤️ THANK YOU SO MUCH BRO U HELP ME A LOT I LOVE YOU SO MUCH

    • @RunCodes
      @RunCodes  4 роки тому +1

      Always welcome! Keep supporting us!

    • @aziroolfareed2469
      @aziroolfareed2469 4 роки тому

      @@RunCodes Bro can u do how to update through the android studio?

  • @RunCodes
    @RunCodes  3 роки тому

    do you like our work?
    does this tutorial help you?
    if so, you can support us at www.patreon.com/RunCodes

  • @bonfaceosuka
    @bonfaceosuka 10 місяців тому

    I'm having an error from the UTF-8, how do I solve it ????.The source code is not existing.

    • @RunCodes
      @RunCodes  9 місяців тому

      Encoding problem do you have internet connection?