I'm new to android. I've created a database for users. The thing is i do not know how to apply on 开发者_JAVA百科android Java file to execute the function for user to login.
You can simply check the UserName/Password against the database, if correct launch an intent to redirect the user to the next activity, if false ask the user to supply his/her credentials again.
精彩评论