Login and Register Form using SQLite Database in Android Studio | login registration android studio
ฝัง
- เผยแพร่เมื่อ 29 ก.ย. 2024
- In this tutorial, a login and register app using SQLite Database is created in Android studio. login and register android studio SQLite. login and register android studio SQLite in Hindi. login android studio SQLite. simple login app android studio. log in and register in android studio using SQLite. login and register app in android studio. login register android studio SQLite
For source code 👇⚡👍👇⚡
allcodingtutor...
Great!! works like a charm... thanks
Glad it helped
@@codingtutorials1857 it shows error reached end of file while parsing what can i do
NtEs in
@jtdwJd4djdtttw4detox5written875I@@spry9gig ignite@ladled3@5who. I8 ke
@@codingtutorials1857 e2w
A very hands-on, clear and easy tutorial
Bestest tutorial of android studio program. Believe me this is the first program in my whole semester which runs properly and give output.thank u so much❤☺️may God bless you with more success and knowledge 🤗💕
I LOVE U BOY. U just saved my ass. i got a task to create mobile app with registration and only your video the best on this topic cuz i dont know how to work with database ( its my weakness) :P
I am really happy that it helped you. Thanks
I tried creating one more table n inserting values from another activity in same DBHelper. But it says insertion failed no such Table. What to do?? How to create more tables in same database??
Gracias aunque el video es en ingles y yo soy español lo entendí muy bien
thank you so much
Can you make a video on keeping the user logged in even after he reopens the app..
Amazing 🤩🤩🤩
link of source code not working
It is available now. Please see the description
It is not working for me , my data is not getting inserted, it says registration failed, please help...
Source code link is not working
i cant open my database it says error saving file... can u help me?
Great! Thank for your kind and detailed explanation
In my program.. values are added in table but in dbbrowser my table is not showing..can someone help me with this problem
Thank you ooo much SIR!!
YOU DID A GREAT TUTORIAL, SIR! YOU SAVE MY LIFE!!!! THANK YOU!!
App keeps crashing? Table not found?
Go to database helper java file, change version number of constructor from 1 to 2 to refresh.
when i restarted the app the user name and password is not working anymore. It is really like that? when you close the app all the data you insert will be lost?
Please I didn't see what you did in the 'activity_home.xml' file.
It just worked like magic ! Thank you so much for such a quality and detailed video ❤
I encountered a problem with this project, can I contact you?
Great tutorial, saved me hours!
Can u help me, it crashed, I folowed every step, pls help me
Very helpful video, but there is a little error when creating a empty project the default package in MainActivity.java is: com.example."name of the app" not
-package com.learnandroid.loginsqlite; dont know how this emerged but i lost a couple of hours to find it out as i was copying all the code from the web page in the link.. and non of the hint in stackoverflow or else helped :D
Thanks for your comment.
First of all, Thanks for the tutorial
secondly=) I am facing a problem Sir, namely:
when i press the sign in button, after registration complete to login in with pre-created user, the APP crashes and closed... i literally followed every detail with you.. if there were any advises, i will be thankful.
Please look the error log when it crashes . Mostly it some undefined variables . Let me know the error
@@codingtutorials1857 i have the same error too
@@codingtutorials1857 heyy i have the same problem
please help
This is the error that occured in my log
2022-06-21 20:43:00.383 4528-4528/com.example.timelineapp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.timelineapp, PID: 4528
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.timelineapp/com.example.timelineapp.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
at com.example.timelineapp.LoginActivity.onCreate(LoginActivity.java:22)
at android.app.Activity.performCreate(Activity.java:6662)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
@@codingtutorials1857 hey i found out the solution thankyou very much for the video it helped me alot
@@utsargaadhikari7670 what's the solution please help
I'm getting a null pointer Exception for this code, could you suggest a solution for that?
Hook ur id correctly with java
@@vijaykumar-pb7bt how can I do so please help
From where i will be able to access this data of clients ?
Hallo, toll erklärt. great explained
Danke für die Arbeit.Thanks for Your work.
Eine Anmerkung: Die Eingabefelder für Password auf Input-Type textpassword setzen. One remark: the fields with the password can be set as input type: textpassword.
Kind regards
Leachim
Kindly teach me one simple app creation and ur screen is not clearly visible
while executing it shows error as setContentView(R.layout.activity_main); package R not found..what should i do
Press Alt+Enter.
great! may I have source code
Alright so the content here is great!! It surely did help me. But if I'm being honest, the thing that bothered me the most about this video is your monotonous voice and how you went through everything robotically (like do this do that without explaining why we write code like this).
I have seen other channels produce similar content but some of them really explain everything nicely with good narration. The content is the same but it's more enjoyable because I actually understand why I am doing what I'm doing.
In this video I'm just blindly writing lines of code without having a single clue what each section does.
So please try to improve on your narration and the way you explain things. Barring these two things I think this was a very helpful video.
Thanks for the suggestion. I will try to improve .
gracias bro me funciono todo bien eres crack
How to show person data on home activity
Hey Please help I'm getting the Null Pointer Exception error..how to resolve it.. please help it is urgent..🙏
These are mainly due to not initializing the variables which are in XML. Maybe some button is not initialized. Please check the code once again.
This saves us all. You are a programming god. Love it
Can you send me a download file please
Sir, when I am clicking on register button, it always shows register failed. How can i solve that problem?
Thank you brother ❤❤
i really love your code, and it so organized and helpful. very thankssssss
Thanks
Username as primary key? BRUH
code good android studio ver.4.0 how to show user login in page
Glad you asked. You can use intent.putExtra to send username string from login page to homeactivity. I have shown the methon in my another video. Please see that and give your feedback
th-cam.com/video/jRO0RUztch4/w-d-xo.html
Nice information
Thanks
Thankyou so much bro
When I click on register my app stops and exits all of a sudden. Any solutions? I have followed same steps same code.
Thank you very much! It fixed my problem...
I couldn't get it done as I got error in this following part:
public Boolean insertData(String username, String password){
SQLiteDatabase MyDB = this.getWritableDatabase();
ContentValues contentValues = new ContentValues();
ContentValues.put("username", username);
ContentValues.put("password", password);
long result = MyDB.insert("users",null, contentValues);
if (result==-1) return false;
else
return true;
}
error: non-static method put(String,String) cannot be referenced from a static context
ContentValues.put("username", username);
^
Can you point out how I can do this?
u can't c me but i am smiling right now ... bcz ur works helps me alot 😁😁😁😄😄😄😄😄 i wanna clap for u
login.db to show nhi ho raha hai
database m
I need help. Can I use this method for online service applications?
Yes.with some modifications
Likeeeeee 100000000
How we publish this type of app in google play console, it shows login issue error...
There is a different procedure for building the apps uploadable in google play store. I will cover that too in future videos.
Its save my life... thank you so much T_T
Mina should give him a subs T_T
Thank youuuuuuuu.......
Thank you so much🙏
una pregunta como hago para mostrar el nombre del usuario que me sale bienvenido con el nombre usuario
You have to just send the username with the intent using putextra. Watch my video on chatApp for that I have shown that.
Thanks a lot SIr.. But i can't find the Login.db file
Very good totorial guide a BIG THANK YOU :)
Its showing null pointer exception after declaring Boolean checkuser
How can i fix “ Password not matching” i cant register because of that.
It worked on mac OS except i cant open the .db file on other app or i dont know, thank you
It was allowing us to signin ,if we login with registered user and with any password.
#thanks fully guid bro
Can I pay on mobile?
Thank you bro. You helped a lot. Please keep up the good work!
Thank you sir for this video. Really it's useful.
Nice video 😘
Handsome!!! Great!!!
thank you bro
Source code plss
if me want view and delete user was add table user ? how to delete user was add ? please help me?
Registers problem password not matching
Thank you so much, your video help me a lot. Thank you so much
i did the same thing as you and i dont have database, in db browser it shows 0 tables.any solutions?
error on clicking register.. any one help?
or solved please help
thANKS
wow the code worked first try, so rare for me! thanks so much
sir i am md dulal ali please help me.
how to create register address and location
Hello after i login it takes me back to registration page instead of activity home ...what could i have done wrong
hello sir i am tried but i get error can not resolve symbol DBHelper
How did you create the SQL sever Database
hello.. how to add coding for Admin? Help
TAK NGERTI AKO
Дякую, допоміг.
thanks man are you the best, greetings from Colombia.
followed all the steps, still working as of now. ty so much sir!
wonderful it really helped , Thanks !!
Thank You
thank you very much it really helped a lot
Glad it helped!
thanks
I ran the program but after running I am not able to find where the file are gone
Great 👏😊
Thanks a lot Bro ❤😍
Sir koi video recorder app se hum Jo video record karte hai kya vo video app developer ke pass bhi save hota hai kya... please reply
You are amazing thank you so much i am just need the name of browser to open the sql file plz
Thank you so much sir
I had seen lot many videos but no clarity
Your way of explaination is simply superb..!
Once again thank you so much sir...! It helped me to learn a new topic....!
Omg this was awesome! Thank you so much!
The video was very helpful. Do you have a video on logout?
Worked perfectly. Thank you sir!
thanks you so much even i am not professional im still can programme