SQLiteDatabase database = SQLiteDatabase.openOrCreateDatabase(databaseFile, PASSWORD, null);
You might consider creating a singleton class that wraps creating your adapter class. This will allow you to minimize the creation of the adapter class for performance reasons and provide an easy way to access the SQLiteDatabase instance.
There are many approaching you can consider, it will just come down to a design decision for your application in terms of managing resources. The database file will be created (unless the file name is ":memory:") when it does not already exist.
You received this message because you are subscribed to the Google Groups
"SQLCipher Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.