欢迎大家在这里学习android创建数据库表!下面是我们给大家整理出来的精彩内容。希望大家在这里学习!
- /**
- * Called at the time to create the DB.
- * The create DB statement
- * @param the SQLite DB
- */
- @Override
- public void onCreate(SQLiteDatabase db) {
- db.execSQL(
- "create table " + TABLE_NAME + " (_id integer primary key autoincrement,
- " + " fid text not null, name text not null) ");
- }
好了,android创建数据库表内容就给大家介绍到这里了。希望大家继续关注我们的网站!
相关推荐:
android清单的使用方法