请继承SQLiteOpenHelper实现:(1
21 查阅
参考答案:
public class DBHelper extends SQLiteOpenHelper { public final static String DATABASENAME = \"diaryOpenHelper.db\"; //创建数据库
public final static int DATABASEVERSION = 1;
public DBHelper(Context context,String na