Patched OrmLite Android library with SQLCipher
allprojects {
repositories {
jcenter()
}
}
dependencies {
compile 'com.j256.ormlite.cipher:ormlite-sqlcipher:1.4@aar'
compile 'com.j256.ormlite:ormlite-core:5.1'
compile 'com.j256.ormlite:ormlite-android:5.1'
compile 'net.zetetic:android-database-sqlcipher:4.0.1@aar'
}
- Init sqlcipher.
- Use in imports
com.j256.ormlite.cipher.android
imports instead ofcom.j256.ormlite.android
- Use in imports
net.sqlcipher.database
imports instead ofandroid.database
- If you need
OrmLiteSqliteOpenHelper
overridegetPassword
method