- Using a DB file that exist?
- From scratch?
I would recommend you take a look at the SQLCipher for Android tutorial. With regard to converting a plain text SQLite database to a SQLCipher encrypted database, you will want to use the sqlcipher_export(…) function. There is also a SQLCipher for Android test suite for you to review as well.