2013-10-08 177 views
0

我正在开发一个Android App项目,其中用户有两个选项,登录和注册。 我有几个问题:创建数据库

1-在注册活动中,如何存储用户的数据? 2-在签名活动中,如何检查用户输入的条目是否正确,并且用户已经拥有我们的帐户。 3-在注册活动中,用户输入的数据应该发给我,以便我能够联系我的应用程序的用户。

我在网上搜索,结果是我必须使用SQLite数据库。 请亲引导我关于这个过程。 在此先感谢。 像Facebook一样,我们必须注册创建新帐户并登录,我想创建这种类型的应用程序。

+0

阅读此http://developer.android.com/guide/topics/data/data-storage.html – lub0v

回答

0

1- In Sign Up Activity, how can I store the data of the user?

你需要维护这个数据库。阅读本教程data - storage tutorial

2- In Sign Activity, How can I check that the entries enter by the user are correct and the user already have a account by us 现在,您需要检查您的服务器并执行身份验证部分。您需要建立webservices并使用android网络模块。 network operations

3- In Sign Up Activity, the Data entered by the user should come to me, So that I will able to contact the user of my app

只要保持TextView中的曲目,其中用户类型的uname和PWRD。检查textview apis