简体   繁体   English

如何使用sqlite数据库在android中登录屏幕?

[英]How to do loginscreen in android using sqlite database?

I am try to write a simple program to loginScreen.In first screen user enter the user_name and password if username and password match in the database then open the next screen otherwise first you enter the your detail then signup. 我尝试编写一个简单的loginScreen程序。在第一个屏幕中,如果数据库中的用户名和密码匹配,则输入user_name和密码,然后打开下一个屏幕,否则首先输入您的详细信息然后注册。

Thanks in advance 提前致谢

I think this will help you.For failur condition you just reload the page and dispay a textview for signing up 我认为这会为您提供帮助。对于失败的情况,您只需重新加载页面并支付用于注册的textview

Having trouble creating an Android Login Page with Intents & Activities 无法创建包含意图和活动的Android登录页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM