摘要: Android中使用SQLite数据库要通过SQLiteOpenHelper类。首先,定义相关变量: // 数据库变量 DatabaseHelper mDBH; SQLiteDatabase db; public static String strSql;再定义SQLiteOpenHelper类: public static class DatabaseHelper extends SQLiteOpenHelper{ public static final String DATABASE_NAME = "Call_db.db"; public static final in 阅读全文
posted @ 2013-12-10 11:06 MSTK 阅读(471) 评论(0) 推荐(0)