Skip to content

Commit 9ff2be0

Browse files
Some additional highlighting in the README
1 parent a2fb009 commit 9ff2be0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.org

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ A typical SQLite database in unencrypted, and visually parseable even as encoded
4141
We’ve packaged up a very simple SDK for any Android developer to add SQLCipher into their app with the following three steps:
4242

4343
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
47-
SQLiteOpenHelper.getWritableDatabase(“thisismysecret”):
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+
47+
SQLiteDatabase.loadLibs(this); //first init the db libraries with the context
48+
SQLiteOpenHelper.getWritableDatabase(“thisismysecret”):
4849

4950
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]].
5051

0 commit comments

Comments
 (0)