伙计们,我是Android初学者开发人员,我想创建一个静态数据库,然后将其连接到我的android应用程序:用户从该应用程序注册,该数据库应执行CRUD操作,我不知道该如何创建它数据库我需要帮助有人帮助我谢谢
If you want to Learn about database CRUD Operation then there are Videos of Slidnered Link for examples in Sqlite performing CRUD Operation , Another from the Examples of Androidhive click this link . For getting Proper understanding with multiple tables then you can try this example from the link for Multiple table example .
I hope you will get better understanding from these examples about the CRUD operation on Sqlite database.
I want to create a static database and then connected to my android application
The things you probably looking is SQLiteDatabase
SQLite
is a open source SQL
database that stores data to a text file on a device. Android normally comes in with built in SQLite
database implementation.
Here is one of the Android SQLite Database Tutorial
P/S : If you have uninstalled the app, all the data will de gone/deleted together.
Another approach is using PHP script then connects to MySQL
database to perform the operation. User still able to get back his/her data as long as he/she still remember username and password.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.