32 thoughts on “Android Login and Registration with PHP, MySQL and SQLite V2 (Demo)

  1. Hi Ravi,
    I followed the steps and it worked.
    I want to ask one thing that data you are storing i stored locally so, how should i make the data available online because user will be downloading app from play store and data need to be accessed online.

  2. hello sir,
    whenever user is not connected to internet he should register using sqlite and when he connected to internet then autometically user deatails will be stored in the mysql db
    this my reguirement i want do this can u help me please

  3. hi, why when i click on "register" i have this error? "W/System.err: org.json.JSONException: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject"…how can fix it? THANKS

  4. I get this error when running…
    E/Volley: [7179] BasicNetwork.performRequest: Unexpected response code 500.

    when i run the pages (…/android_login_api/login.php and… /android_login_api/register.php) on the browser i get this…
    {"error":true,"error_msg":"Required parameters email or password is missing!"}

    so its connecting, but when i try to register or login on the android device i get (first)error.
    any ideas?

  5. hello ravi sir, I have created the same without
    registration page.That is user can directly login with his Uesrname,pass.After that his details will be displayed on another page.But the Table have an extra column of type LONGBLOB (for image).How to display this image along with his details?

  6. PLEASE SOMEONE HELP ME, WHEN I USE THIS PROJECT AND CHANGE URL TO CONNECT URL DATABASE SERVER I GET THIS ERROR : org.json.JSONException: Value <br><table of type java.lang.String cannot be converted to JSONObject

  7. hello sir ..I was following youe tutorial from many days ..Its just aweesome 🙂 The problem i am facing is ..I can upload data to my localhost server but cannot fetch from it.Like wise i can fetch from remote server but cannot upload to it .I am not understanding where i am going wrong.I hav put db name and server name and url etc properly.Can u help plz..

  8. hello sir ..I was following youe tutorial from many days ..Its just aweesome 🙂 The problem i am facing is ..I can upload data to my localhost server but cannot fetch from it.Like wise i can fetch from remote server but cannot upload to it .I am not understanding where i am going wrong.I hav put db name and server name and url etc properly.Can u help plz..

  9. im a total new to android my problem is when i click login or register with values unfortunately stopped. and here is the message.

    FATAL EXCEPTION: main
        Process: devmeh.com.amjrloginregister, PID: 32471
        java.lang.NullPointerException: Attempt to invoke virtual method 'void app2.AppController.addToRequestQueue(com.android.volley.Request, java.lang.String)' on a null object reference

    what is the problem here?

  10. +Ravi Tamada  Hi May I ask how can i solve the Register Tag Not Set Error? As I am currently using github to host the database and am unable to send the details from the android source code your provided

  11. Hey Ravi…. good tutorials… one request if i may ….. Can you make your website organized .. you know in sequential flow manner…so that anybody can learn step by step.. i am confident that your website will become one spot for learning all about Android.. just one site… Your website is like academy for me .. better than college and books !! Keep on !!

Leave a Reply

Your email address will not be published. Required fields are marked *