标签:ack pack arc database android content ade oncreate db2
从零开始的体温app开发(db2)
package db;
import android.content.Context;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteDatabase;
public class Sqlite2 extends SQLiteOpenHelper{
public Sqlite2(Context context){
super(context,"Text2.db",null,1);
}
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("create table tex2(num varchar(20),name varchar(20),cl varchar(20),phone varchar(20))");
}
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
}
}
标签:ack pack arc database android content ade oncreate db2
原文地址:https://www.cnblogs.com/mumulailai/p/14909456.html