Hi, I created a sqlcipher database. Now i want to put it in asset/databases folder of my android studio project. How can I use this database in my project? I put it in asset/databases but when I use this code it seems that it make an empty database(I mean that the application never used the database that I put in assets folder):
SQLiteDatabase.loadLibs(this);
File databaseFile=null;
databaseFile=getDatabasePath(“temp.db”);
databaseFile.mkdirs();
databaseFile.delete();
SQLiteDatabase sq=SQLiteDatabase.openOrCreateDatabase(databaseFile, “kvlhtchvahcshgj,gdn70”, null);
how can I use my existing database?