A small Android application that converts a .sqlite to an encrypted SQLCipher database using a password. These encrypted databases will be ready to include in another project's APK.
- Download the Eclipse project from GitHub
- Open the project with Eclipse
- Put your file containing your SQLite database creating statements in the
Assetsfolder - Change the
SQLITE_FILE,DB_NAME, andDB_PASSWORDcontants in the SQLite2SQLCipher.java file - Run the application on the Emulator (This makes it easy to grab the file off it from the DDMS File Explorer)
- Once the application finishes running, use the DDMS File Explorer to navigate to the
/data/data/com.drspaceboo.sqlite2sqlcipher/databasesfolder and download your .db file - Use your encrypted database in your app :D
This program is released as is without warrenty under an Apache 2.0 license. Feel free to use this how every you want, take the code! Just send some good vibes my way.
SLQCipher has it's own license, please read up on that before including any of my code or theirs in your project. I take no responsibility for any of their code or properties and do not claim to own them.
Author: Dr Boo
Website: http://www.drspaceboo.com
Email: contact [at] drspaceboo [dot] com
Please let me know about any improvements I can make to this. I am more then happy to incorporate commits if it means improving the application or user experience of this little tool.