Android Login/Registration with MySQL Database Example Using Retrofit

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ต.ค. 2024

ความคิดเห็น • 192

  • @AbdulRehman-gn9yd
    @AbdulRehman-gn9yd 6 ปีที่แล้ว +41

    please provide us the source code to avoid check our error and bugs further ok

  • @chintan_rana
    @chintan_rana 4 ปีที่แล้ว +1

    great video helped me alot in my project thank you sir

  • @ariefdwi6572
    @ariefdwi6572 5 ปีที่แล้ว +2

    thx... it's works for me in July 2019

  • @josepechvillasis7855
    @josepechvillasis7855 4 ปีที่แล้ว

    Greetings from Mexico. Thanks, I learn a lot from you

  • @deepakrawat5531
    @deepakrawat5531 6 ปีที่แล้ว +1

    Sir, this video tutorial was very good. I haven't tried yet but I think it's good. Please make a tutorial of "Forget password" options and "otp" option so that user insert a valid email.

  • @leostricak5615
    @leostricak5615 4 ปีที่แล้ว

    Thank you! Works for me in january 2020!

  • @sajaysunny1681
    @sajaysunny1681 4 ปีที่แล้ว +1

    Thank you.exactly what i was looking for.

  • @shubhasankarbhattacharjee1623
    @shubhasankarbhattacharjee1623 6 ปีที่แล้ว +1

    Great video sir.. thanks for sharing your knowledge.. very much informative.. we r learning android as well as php scripting..

  • @k.ganesan3244
    @k.ganesan3244 4 ปีที่แล้ว

    Thank you for sharing this video sir...

  • @borisshalabanov4620
    @borisshalabanov4620 5 ปีที่แล้ว

    thanks for the lesson, I've finally understand the concepts of retrofit

  • @wisdom1223
    @wisdom1223 5 ปีที่แล้ว

    it works 100%, its help full learning, thanks so much

    • @tasneemsf3421
      @tasneemsf3421 5 ปีที่แล้ว

      Assefa Belay did you get output??

    • @wisdom1223
      @wisdom1223 5 ปีที่แล้ว

      yes I got, but now I expand it for two users, definitely login successful and open two different page as User type that I need. But the problem is, when I open the application again it displays only Dr.
      PRABEESH R K
      designed welcome page, how can I handle it, any idea appreciated

    • @tasneemsf3421
      @tasneemsf3421 5 ปีที่แล้ว

      @Assefa Belay I'm using SQLite database

    • @user-ol3mt3mr9o
      @user-ol3mt3mr9o 4 ปีที่แล้ว

      @@wisdom1223 please can you share your code ?

    • @AR-sy5pd
      @AR-sy5pd 3 ปีที่แล้ว

      can u give me the code?

  • @orsansealy6168
    @orsansealy6168 4 ปีที่แล้ว

    very clean coding. do you have tutorials or a full course on fragments? I am interested in learning database programming in Android.

  • @lvinlvin1993
    @lvinlvin1993 6 ปีที่แล้ว +1

    Is useful and working ! Thanks for sharing ur skill to me!

    • @dishadoshi4176
      @dishadoshi4176 5 ปีที่แล้ว

      hey plz provide the source code

    • @dishadoshi4176
      @dishadoshi4176 5 ปีที่แล้ว

      help me

    • @tasneemsf3421
      @tasneemsf3421 5 ปีที่แล้ว

      Alvin when I run app , it's just showing me blank page... help me

  • @rubenhayrapetyan5905
    @rubenhayrapetyan5905 6 ปีที่แล้ว +1

    thanks for good video, very helpful

  • @yhr4052
    @yhr4052 6 ปีที่แล้ว

    Hello Mr PRABEESH sir!
    Thank you very much for your tutorial, it was very useful. However you should include an AsyncTask method.

  • @RakibInsight
    @RakibInsight 6 ปีที่แล้ว +8

    please give me the source code of this tutorial project

  • @kevinrajnagaraju5931
    @kevinrajnagaraju5931 6 ปีที่แล้ว +1

    Hello sir, just wanted to tell that you can''t expect someone to just watch this video until the end and also copying the coding one by one. At last it crashed with errors. Maybe you should just give a link to your coding as what i see from other peoples comment. It makes it much more easier sir. BTW i followed your video until the end...until the end. Then your codding is just no use cause its much more complicated. I hope you understand sir. Thank you. sorry if you have hard feelings or what.

  • @hadirasteh9934
    @hadirasteh9934 6 ปีที่แล้ว +1

    Thank you Mr. Prabeesh. I am confronted with a serious problem. For symbols such as sharePreference.Editor, the Editor is highlighted red and it is commented that the symbol cannot be resolved. there are a few such errors. what should I do?

  • @luckysingh-eo7cf
    @luckysingh-eo7cf 6 ปีที่แล้ว +1

    thankyou sir it is working properly

    • @dishadoshi4176
      @dishadoshi4176 5 ปีที่แล้ว +1

      hey plz provide me the source code....

    • @RahulBambale
      @RahulBambale 5 ปีที่แล้ว

      pls send me source code.

  • @mahiransh9894
    @mahiransh9894 4 ปีที่แล้ว +1

    Sir, my retrofit is not importing... It show error and when I go to import it shows nothing... I manually done the import but this will not work
    Please provide a solution for this...

  • @alynutza009
    @alynutza009 6 ปีที่แล้ว

    Awesome! Thank you!

  • @felixgitau8446
    @felixgitau8446 3 ปีที่แล้ว

    very good tutorial.can you please do a video about this on
    volley

    • @AR-sy5pd
      @AR-sy5pd 3 ปีที่แล้ว

      please give me source code

  • @hwysoe9827
    @hwysoe9827 6 ปีที่แล้ว

    We are using local database rite? Is there a way we can make a user login without having to register? meaning that if we manually input the user credentials into the database the user can straightaway login.

  • @anushkakhare2985
    @anushkakhare2985 6 ปีที่แล้ว +2

    Please create a video on MVP pattern for the same login app .

  • @simondenbekker
    @simondenbekker 6 ปีที่แล้ว

    very helpfull tutorial thank you very much :D

  • @SumanDas-ph4bx
    @SumanDas-ph4bx 4 ปีที่แล้ว

    Thanks for this tutorial. All are working fine except one i.e. Enqueue callback not triggered. Retrofit enqueue doesn't work but data is entering into table for register module. Kindly give the solution

  • @DenniS-qr3nn
    @DenniS-qr3nn 6 ปีที่แล้ว

    it say retrofit, on your another video there are retrofit 2.. is there any diferent between retrofit and retrofit 2 ??
    I'm new to retrofit. thx.

  • @technikprofi9356
    @technikprofi9356 6 ปีที่แล้ว

    @anmol gupta Firebase? Is this possible on your own server ??

  • @gramzrahindustries3139
    @gramzrahindustries3139 4 ปีที่แล้ว

    I now have the code😊 i write it patiently

  • @daniyalsafari6742
    @daniyalsafari6742 6 ปีที่แล้ว +6

    please share the source codeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

  • @1SIGMAOMEGA
    @1SIGMAOMEGA 6 ปีที่แล้ว

    Where did you create an instance of the ApiClient class u created...?

  • @naveendodeja7854
    @naveendodeja7854 3 ปีที่แล้ว

    Sir i need the help i want to load the list of names in spinner when i select the class from another spinner or any way

  • @penikmatteater1785
    @penikmatteater1785 4 ปีที่แล้ว

    Can we use Codeigniter to make a PHP script of the login activity?

  • @kavanashettigar4322
    @kavanashettigar4322 6 ปีที่แล้ว

    Thank you sir...

  • @student0002
    @student0002 6 ปีที่แล้ว +3

    source code please,I love your tutorail.

  • @mehradmby4869
    @mehradmby4869 4 ปีที่แล้ว

    hi mr prabeesh ,i think somthing went wrong in your php code,its always bring us back response"ok",i think if else is the problem

  • @Naughtyboycsiit
    @Naughtyboycsiit 5 ปีที่แล้ว

    Hay buddy, I have this error how to solve it.
    I/Choreographer: Skipped 39 frames! The application may be doing too much work on its main thread.
    W/Looper: Slow Looper: doFrame is 664ms late because of 3 msg, msg 1 took 58ms (late=265ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver), msg 2 took 533ms (late=70ms h=android.view.ViewRootImpl$ViewRootHandler c=android.view.View$PerformClick), msg 3 took 81ms (late=606ms h=android.view.ViewRootImpl$ViewRootHandler c=android.view.View$UnsetPressedState)

  • @spinaround5626
    @spinaround5626 3 ปีที่แล้ว

    Sir How can fetch user details data.
    Detail should be which user login

  • @MohammedMutwakil
    @MohammedMutwakil 3 ปีที่แล้ว

    you have a great example but after 56 minutes writing your code it's not inserting data to table

  • @edsonrodsilva
    @edsonrodsilva 5 ปีที่แล้ว +1

    Its very good, please give me the source code of this tutorial project.

  • @tejalkawale3171
    @tejalkawale3171 5 ปีที่แล้ว +1

    Sir what if we want to run this application on our phone and not on virtual device then what are the changes will I have to make ,again what will be the base URL to run it on phone.

    • @unknownknown360
      @unknownknown360 5 ปีที่แล้ว

      I think either have it on an actual server or you can create a localhost on your phone, so you would have xamp on your phone not 100% sure though

    • @tasneemsf3421
      @tasneemsf3421 5 ปีที่แล้ว

      g v I got an error"cannot resolve symbol fragment _containet"... help me plzzz

    • @unknownknown360
      @unknownknown360 5 ปีที่แล้ว

      @@tasneemsf3421 can't help you with that my friend it is too specific... google it :P

  • @sports-online-tv
    @sports-online-tv 5 ปีที่แล้ว

    Thanks. Very good tutorial. I need url failed message. please suggestion.

  • @gastonmelo6473
    @gastonmelo6473 5 ปีที่แล้ว +2

    program cant enter to public void onResponse(Call call, Response response)

    • @fyi-li3wq
      @fyi-li3wq 4 ปีที่แล้ว

      I've also encountered the same problem, may I know if you already have the solution? Thanks in advance

    • @gastonmelo6473
      @gastonmelo6473 4 ปีที่แล้ว

      @@fyi-li3wq my problem was in copy paste

  • @technikprofi9356
    @technikprofi9356 6 ปีที่แล้ว +1

    Hi! Your video was great!
    But you show everything with a "Localhost"!
    Is the script the same to write when used "NOT LOCAL"? But via the internet?
    Which IP should I use where? and how should I write the script?
    I ask for help
    Thank you

    • @anmol441
      @anmol441 6 ปีที่แล้ว

      use firebase

    • @technikprofi9356
      @technikprofi9356 6 ปีที่แล้ว

      @@anmol441Firebase ?? Ist das auf eigenen Server Möglich??

    • @anmol441
      @anmol441 6 ปีที่แล้ว

      Technik Profi Sorry brother cant understand the language. Can you just repeat this in English.

    • @rizwansayyed5043
      @rizwansayyed5043 5 ปีที่แล้ว

      it depend upon the site you are hosting they provide the info..

  • @mahmouddiab3879
    @mahmouddiab3879 4 ปีที่แล้ว

    for people who cant add the value to phpmyadmin the local 10.0.0.2.2 ip didnt work with me either
    so i wrote in cmd run ipconfig and replaced it with the ip appeared on IPv4 Address
    and it worked!

    • @AKSKMY
      @AKSKMY 4 ปีที่แล้ว

      Errm upon clicking register the toast doesn't show and screen refreshes. Any idea how to fix? Thanks!

  • @aakarshansuryawanshi8520
    @aakarshansuryawanshi8520 6 ปีที่แล้ว +1

    Make a tutorial on quiz app using database where i can update questions sir

  • @rajughosh6173
    @rajughosh6173 6 ปีที่แล้ว +1

    Sir can you please make a tutorial on android quiz using php retrofit.

  • @rajaarumugam2018
    @rajaarumugam2018 4 ปีที่แล้ว

    I'm getting this error,Please help me.
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 2 column 1 path $

  • @barathn4525
    @barathn4525 5 ปีที่แล้ว

    send for the fragmentation coding sir ......pls send that the source code.....thanks for the videos...super teaching method

  • @naveendodeja7854
    @naveendodeja7854 3 ปีที่แล้ว

    using retrofit. can you help me out sir

  • @anuragpathak149
    @anuragpathak149 6 ปีที่แล้ว

    One more problem I have......I have created a search view using list view....But when m pressing any item after search it's not showing the proper student details......Please help me reguarding this.....Plzzzz.....Sir....

  • @pandurangpnaik5858
    @pandurangpnaik5858 4 ปีที่แล้ว

    Sir why to use fregment and not the activity?

  • @Artupaws
    @Artupaws 6 ปีที่แล้ว

    thank u sir

  • @AbhijeetKurkute
    @AbhijeetKurkute 6 ปีที่แล้ว

    i want to open new different activity after login fragment success not welcome fragment. please guide

  • @MrBirhanuAS
    @MrBirhanuAS 6 ปีที่แล้ว

    thank you PRABEESH R K, I follow all of your tutorials and it is help full. can you help me? how can I get the current location of my friend using his phone number? please give me the source code?

  • @rihabbelhiba5851
    @rihabbelhiba5851 4 ปีที่แล้ว +1

    it keeps on giving this error mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in

    • @thanavenvanan1895
      @thanavenvanan1895 4 ปีที่แล้ว

      if your table is not as same as his then that might be the problem, if you want to stick with your table it fine but you have to replace all the table content of his database in the code to yours. last make sure your your id is under auto increment under extra.

  • @YagelSalazar
    @YagelSalazar 6 ปีที่แล้ว

    did you use php?

  • @srinwaasburri2028
    @srinwaasburri2028 6 ปีที่แล้ว

    thanks, sir.

  • @vaishnavipagore4149
    @vaishnavipagore4149 5 ปีที่แล้ว

    iam getting error in impelementing the interface method in onclick listener as static method cannot be implemented in non static method plzzz can u give the solution of it ?

  • @technologyenlighten3636
    @technologyenlighten3636 5 ปีที่แล้ว

    hey i followed this tutorial but there is an error illegal URL
    and i don't know whats up can you please help

  • @Naruto77695
    @Naruto77695 4 ปีที่แล้ว

    Please Help I Search EveryWhere But Can't Find How to Stored Radiobutton Value mean Gender Male/Female in MYSQL DB PHPMYADMIN PLEASEEEE

  • @indriyantonugroho4056
    @indriyantonugroho4056 6 ปีที่แล้ว

    do you have a github account?

  • @digitalizedsolutionsystems7295
    @digitalizedsolutionsystems7295 5 ปีที่แล้ว +1

    sir there is login and register page is displayed but can't add or login details to the phpmyadmin

    • @user-ol3mt3mr9o
      @user-ol3mt3mr9o 4 ปีที่แล้ว

      hello, im having the same problem did you find solution ?

  • @hansengfeldt7405
    @hansengfeldt7405 3 ปีที่แล้ว

    hi, i get this error, how to fix?
    expected
    public void onFailure(Call) call, Throwable t) {

  • @Latest4kmovies
    @Latest4kmovies 3 ปีที่แล้ว

    Sir database custom user id kaise increase kare plz help sir

  • @rahulsadhu360
    @rahulsadhu360 6 ปีที่แล้ว

    Hello sir , please add new Android architect components tutorial with kotlin

  • @jihinR
    @jihinR 6 ปีที่แล้ว

    Please create a video on MVP pattern and Retrofit

  • @mahmoodimtiaz2550
    @mahmoodimtiaz2550 6 ปีที่แล้ว

    Sir please make a tutorial,where user can comment and like a post,using php and Mysql.

  • @codymaheu7355
    @codymaheu7355 6 ปีที่แล้ว

    Hey, I'm having trouble to parse through the json for the registration page. This is the error it is giving me:
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
    From my understanding of this error it is expecting an object but getting a string? It seems a lot of people in the comments have the same problem. Should I change how this is handled on the php side or create a function to parse through the json in android
    Great video though, very powerful.

    • @ced7823
      @ced7823 6 ปีที่แล้ว

      Did you fixed this?

  • @hwys4298
    @hwys4298 6 ปีที่แล้ว +1

    I followed every step of the vid but still when i press login button or register button it only refreshes without updating the database or login

  • @careparba9354
    @careparba9354 6 ปีที่แล้ว

    Hello, Prabeesh. I have a problem. When I run the application, it says "Unfortunately loginapp stop" There's nothing wrong with code. The gradle compilation is fine. No errors are found. but why does it say that? Please help.

    • @djshamain1
      @djshamain1 6 ปีที่แล้ว

      check your base URL

    • @tasneemsf3421
      @tasneemsf3421 5 ปีที่แล้ว

      Sidney Laryea how to check base URL??

  • @iilearner
    @iilearner 4 ปีที่แล้ว

    I mean good job but sql injection prevention?

  • @renjimathew1113
    @renjimathew1113 6 ปีที่แล้ว

    Sir how to fetch complex json data in retrofit..?

  • @ramt4492
    @ramt4492 4 ปีที่แล้ว +1

    You shouldn't save passwords as plaintext! BAD PRACTICE! NAUGHTY! BAD!
    you should always use something like bcrypt() to hash or store the passwords as a hash. Then just hash them the same way upon login and compare.

  • @janseniogonzalesvenegas2649
    @janseniogonzalesvenegas2649 6 ปีที่แล้ว

    Amigo comparte en tu github gracias!!! desde Peru saludos buen video

  • @jasonevangelista4699
    @jasonevangelista4699 4 ปีที่แล้ว

    can i use xampp instead of wamp server?

  • @ryansimpson2854
    @ryansimpson2854 6 ปีที่แล้ว

    hello all iv got to the point of making the register _test.html however whenever i run it it comes up with the error message that is put in on line 22-28 can anyone help please

  • @barkotenicholas880
    @barkotenicholas880 6 ปีที่แล้ว +1

    Your code doesnt even work

  • @HeavyTricks
    @HeavyTricks 6 ปีที่แล้ว

    But now there is advance and effective solution called
    Firebase.
    Please make video on firebase.

  • @samparkservices1673
    @samparkservices1673 5 ปีที่แล้ว

    Hello Sir i am unable to insert value in database in registration when i am run the program and insert record and also not getting any Toast message so you help me

    • @user-ol3mt3mr9o
      @user-ol3mt3mr9o 4 ปีที่แล้ว

      hello, im having the same problem did you find solution ?

  • @ZiaStudy_corner
    @ZiaStudy_corner 5 ปีที่แล้ว

    sir i confiused i will type the same code as it but the code will not perform accurately kindly hlep me

    • @gacemzohra6450
      @gacemzohra6450 5 ปีที่แล้ว

      sir please if you created the source code send to me please or put it hear

  • @NetFlixPakistani
    @NetFlixPakistani 6 ปีที่แล้ว

    thanku sir

  • @AR-sy5pd
    @AR-sy5pd 3 ปีที่แล้ว

    sir, can u share this code? thx before

  • @andresleoncifuentes7942
    @andresleoncifuentes7942 4 ปีที่แล้ว

    could you pass the files? it doesn't work for me writing them

  • @girishanda7758
    @girishanda7758 5 ปีที่แล้ว

    i love the video and finish building the project but unable to register or save data and can not log in. need help if you may pls provide the source code. thanks.

    • @user-ol3mt3mr9o
      @user-ol3mt3mr9o 4 ปีที่แล้ว

      hello, im having the same problem did you find solution ?

  • @sujanpaul5572
    @sujanpaul5572 6 ปีที่แล้ว

    sir when i write this its showing some error
    getSupportFragmentManager().beginTransaction().add(R.id.fragment_container,new WelcomeFragment()).commit();
    actually when i write add(R.id.fragment_container,new WelcomeFragment()).commit();) "welcomeFragement()" is showing some error can not resolve sir can u help me if u can please help me.

    • @PRABEESHRK
      @PRABEESHRK  6 ปีที่แล้ว

      Check your imports. You may import platform version of fragment manager. Instead you have to use support library version of fragment manager.

    • @AKSKMY
      @AKSKMY 4 ปีที่แล้ว

      @@PRABEESHRK Having same issue it says cannot resolve method 'add(int,com.example.sel12.mysql.WelcomeFragment)'

    • @AKSKMY
      @AKSKMY 4 ปีที่แล้ว

      Oh ok supposed to use "import android.support.v4.app.Fragment;" weird it just auto use the other one =.=

  • @empchannel5293
    @empchannel5293 6 ปีที่แล้ว

    I did everything, but login did not help me.

  • @shababkm1803
    @shababkm1803 6 ปีที่แล้ว

    Sir please Create this in the app , user upload image and text , and show the data (a simple facebook model app)

  • @sharathchandra9255
    @sharathchandra9255 6 ปีที่แล้ว

    to me the json is not working in the html form as it is showing the register.php file insted of responce ok can you give me some solution sir please

    • @shrinathgupta7132
      @shrinathgupta7132 6 ปีที่แล้ว

      if you are testing the register.php file then execute the register.html in localhost
      i.e open a web browser and type localhost/AppName/register.html

  • @ManishGupta-cn7ei
    @ManishGupta-cn7ei 6 ปีที่แล้ว

    You yourself are copying and pasting code, and have not provided the code to your users - get a github account...

  • @hwys4298
    @hwys4298 6 ปีที่แล้ว

    whats the code for logintest.html?

  • @adityarajchopra3887
    @adityarajchopra3887 5 ปีที่แล้ว

    Please tell me the host if I am doing on cpanel

  • @albertussindhu3909
    @albertussindhu3909 6 ปีที่แล้ว

    sir can you make in kotlin? but that's great

  • @ashmitashrestha9325
    @ashmitashrestha9325 6 ปีที่แล้ว +1

    in my app the data from the form is not sent to server.
    plz help

  • @kielmacapagal1453
    @kielmacapagal1453 5 ปีที่แล้ว +1

    Source code pls

  • @mohammedjanishaik7158
    @mohammedjanishaik7158 5 ปีที่แล้ว

    hi iam unable get data from phpmyadmin

  • @keshavgautam2657
    @keshavgautam2657 6 ปีที่แล้ว

    How I get this code of example

  • @britto6323
    @britto6323 6 ปีที่แล้ว

    sir,
    pls help me , i am unable to get Value when i connect my android phone as a emulator.

    • @manojkumark631
      @manojkumark631 4 ปีที่แล้ว

      Disable ur firewall and antivirus

  • @anuragpathak149
    @anuragpathak149 6 ปีที่แล้ว

    Can u advice me how to add navigation drawer and when we press any menu it should open new activity............Plzzzzz......Sir help me........

    • @PRABEESHRK
      @PRABEESHRK  6 ปีที่แล้ว

      I have already done video about this. Please check my playlists

    • @riyasv6565
      @riyasv6565 6 ปีที่แล้ว

      PRABEESH R K
      Sir please provide your phone number

  • @yashaggarwal8844
    @yashaggarwal8844 6 ปีที่แล้ว

    Sir can u plz provide the source code of this loginapp !!