You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.org
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -41,10 +41,11 @@ A typical SQLite database in unencrypted, and visually parseable even as encoded
41
41
We’ve packaged up a very simple SDK for any Android developer to add SQLCipher into their app with the following three steps:
42
42
43
43
1. Add a single sqlcipher.jar and a few .so’s to the application libs directory
44
-
2. Update the import path from android.database.sqlite.* to net.sqlcipher.database.* in any source files that reference it. The original android.database.Cursor can still be used unchanged.
45
-
3. Init the database in onCreate() and pass a variable argument to the open database method with a password:
46
-
SQLiteDatabase.loadLibs(this); //first init the db libraries with the context
2. Update the import path from =android.database.sqlite.*= to =net.sqlcipher.database.*= in any source files that reference it. The original =android.database.Cursor= can still be used unchanged.
45
+
3. Init the database in =onCreate()= and pass a variable argument to the open database method with a password:
46
+
47
+
SQLiteDatabase.loadLibs(this); //first init the db libraries with the context
An article covering both integration of SQLCipher into an Android application as well as building the source can be found [[http://sqlcipher.net/sqlcipher-for-android][here]].
0 commit comments