Other than collecting the password from the user, rather than hard-coding it, that is all you need. SQLCipher for Android is only incrementally different than using ordinary SQLite: just call loadLibs()
before using it, then supply the password to getReadableDatabase()
, getWriteableDatabase()
, etc.
Over time, you may have more issues, such as when SQLCipher changes its database format and you need to perform an upgrade, as was needed from SQLCipher 2.x to 3.0.x. But those are infrequent.