Android Login and Register with SQLite Database Tutorial

Amardeep Yadav

Hello there, My name is Amardeep founder of loopwiki.com. I have experience in many technologies like Android, Java, Php etc. In this variety of technologies, I love Android App Development. If you have any idea and you want me to develop for you then let's have chat Email: [email protected]

You may also like...

23 Responses

  1. Josh Tagz says:

    It’s not running in my emulator, i think their is something missing in the code to run the application. i tried this one in my android studio 3.0.1 version.

  2. Orkhan says:

    Hi, I am curious about where created database is stored.

    • For non-rooted devices, database is in private folder that you can’t access
      but if your device is rooted then probable location of your SQLite database is inside
      /data/data/your_app_package_name/databases/database_name

  3. Rozanna says:

    Hi, Thanks for the code i used only the login part and it gives and error when i run the app it stops doesn’t even open it can you please help me.

    • Sure i will be happy to help you can you please explain me what error you get?

      • Rozanna says:

        Hi Sir,

        Actually i need to develop a login where the admin creates the users and the users doesn’t have to register so i only wanted to get the code for the login and when i run it on my Android mobile it says unfortunately Login has stopped

  4. Surinder Singh says:

    It worked for me! In case if you are getting a problem then please check your dependecy in gradle and add the following code : implementation ‘com.android.support:design:26.0.2’

  5. ciro says:

    best tutorial Mr. Amardeep

  6. meek says:

    thx for dis how ever am getting these as errors ( import android.support.design.widget.Snackbar;
    import android.support.design.widget.TextInputLayout;)
    they selected in red color making everything at touched to them have errors

  7. Kipruto Barno says:

    This tutorial has been perfected to military precision, quite literally. Thanks mate. This is impressive!

  8. Han says:

    Hi I have a problem where I want the user to fill in all the details and if there’s an empty detail left the user can’t proceed but for my app, it keeps registering them although when they have an empty box left.

  9. Sumaira says:

    sir i copy ur code same but Snackbar or TextInputLayout not resolveable plz tell me how i can resolve it

  10. Godwin says:

    Thanks a lot, this is awesome but I want login credentials to be stored within the App, no email address, just username and then password. Thanks.

  11. chetan says:

    When login button is clicked it gives an error as

    java.lang.NullPointerException: Attempt to invoke virtual method ‘android.text.Editable android.widget.EditText.getText()’ on a null object reference

  12. DHARAM says:

    Dear Amardeep,
    Please help to find out the database. Database name is shown as: DATABASE_NAME = “loopwiki.com”
    How may I find the entry made in database

  13. Pramod says:

    Thank You Thank You Sir its help me a lot it’s working fantastically

  14. Langgeng says:

    Hi sir, Thanks for your guide
    But I’ve a question, If I want to create another table, for example, admins table what should I do?
    Should I create another class or write it on that class or maybe something deferent steps

  1. May 6, 2018

    […] Referensi : Loop Wiki […]

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.