.getModuleHandle("SQLiteDemo"), "XYZ");
try {
// Encrypt and protect the database. If the database is already
// encrypted, the method will exit gracefully.
DatabaseFactory.encrypt(uri, new DatabaseSecurityOptions(
codeSigningKey));
} catch (final DatabaseException dbe) {
errorDialog("Encryption failed - " + dbe.toString());
}