I had been using SQLite in my project and I have to migrate to SQLCipher. I have a constructor in my DatabaseHelper class. I don't create the db anywhere else. My constructor is:
public DatabaseHelper(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION);
}
I have added SQLiteDatabase.loadLibs(this);
in onCreate()
of the activity where the data is inserted for the first time.
Whenever I open my .sqlite
file in the SQLite managers, it shows all the data. I am not able to understand where to put the code to create the database file as mentioned in docs.
Can someone please guide me?