DataBaseHelper extends SQLiteOpenHelperpublic DataBaseHelper(Context context) {
super(context, AppConf.DB_NAME, null, AppConf.DB_VERSION);
this.myContext = context;
}
AppConf.DB_VERSION是我传的版本号=2SQLiteDatabase checkDB = SQLiteDatabase.openDatabase(myPath, null,
SQLiteDatabase.OPEN_READONLY);checkDB
但是checkDB.getVersion()总是为0Cursor cursor2 = checkDB.rawQuery(sql, null);这样也能查到我想用的,checkDB确定不为空为什么取不到啊