https://github.com/carrys17/SqliteTest 自己跟着视频敲的代码,需要的可以看下
2017-06-30
最赞回答 / qq_蹲街数蚂蚁_03153324
Context cont = this.getApplicationContext();String s = cont.getDatabasePath("info.db")+"";SQLiteDatabase db = SQLiteDatabase.openDatabase(s,null,SQLiteDatabase.OPEN_READONLY);这样就可以了,试过了
2017-06-25