I'm trying to use a row key data in order to avoid key derivation (According to the SQLCipher documentation):
this.myDb = SQLiteDatabase.openOrCreateDatabase(databaseFile, "", null);
this.myDb.rawExecSQL("PRAGMA key = \"x'2DD29CA851E7B56E4697B0E1F08507293D761A05CE4D1B628663F411A8086D99'\"");
Cursor myCursor = this.myDb.rawQuery(query, params);
When I force the application to stop, accessing the data becomes impossible.
This behaviour does not happen without using SQLCipher. The database is readable even after forcing application to stop.
I'm I doing something wrong ?
Thanks in advance,