SQLiteDatabase database = SQLiteDatabase.openOrCreateDatabase(databaseFile, PASSWORD, null);
Hello Spider,
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.
--
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 email to sqlcipher+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nick Parker
Hello Spider,
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
email to sqlcipher+...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.
Nick Parker
--
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 email to sqlcipher+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Nick Parker