Skip to content

Commit 7887166

Browse files
Update README
1 parent f87cee1 commit 7887166

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.org

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
*** Contributions
1010

11-
We welcome contributions, to contribute to SQLCipher for Android, a [[https://www.zetetic.net/contributions/][contributor agreement]] needs to be submitted. All submissions should be based on the =master= branch.
11+
We welcome contributions, to contribute to SQLCipher for Android, a [[https://www.zetetic.net/contributions/][contributor agreement]] needs to be submitted. All submissions should be based on the =master= branch.
1212

1313
*** An Illustrative Terminal Listing
1414

@@ -46,7 +46,7 @@ We’ve packaged up a very simple SDK for any Android developer to add SQLCipher
4646

4747
1. Add a single sqlcipher.jar and a few .so’s to the application libs directory
4848
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.
49-
3. Init the database in =onCreate()= and pass a variable argument to the open database method with a password:
49+
3. Init the database in =onCreate()= and pass a variable argument to the open database method with a password:
5050

5151
: SQLiteDatabase.loadLibs(this); //first init the db libraries with the context
5252
: SQLiteOpenHelper.getWritableDatabase("thisismysecret"):
@@ -59,15 +59,15 @@ Notepadbot is a sample application pulled from the standard Android samples code
5959

6060
*** Building
6161

62-
In order to build android-database-sqlcipher from source you will need both the Android SDK as well as Android NDK. We currently recommend using Android NDK version r11c. To complete the =make init= command, you will need the =android-19= platform installed from the SDK. The =make init= command will build OpenSSL for the required platforms, thus the =ANDROID_NDK_ROOT= environment variable must be defined which should point to your NDK root. Once you have cloned the repo, change directory into the root of the repository and run the following commands:
62+
In order to build android-database-sqlcipher from source you will need both the Android SDK as well as Android NDK. With different Android SDK installation approaches available, please make sure the =android= binary is available on your =PATH=. We currently recommend using Android NDK version r11c. To complete the =make init= command, you will need the =android-23= platform installed from the SDK. The =make init= command will build OpenSSL for the required platforms, thus the =ANDROID_NDK_ROOT= environment variable must be defined which should point to your NDK root. Once you have cloned the repo, change directory into the root of the repository and run the following commands:
6363

6464
: # this only needs to be done once
6565
: make init
6666

6767
: # to build the source
6868
: make
6969

70-
Recursively copy the =libs= directory into the root of your application, you will also need the =assets= directory copied into the root of your application folder. A detailed set of instructions and further customization can be found [[http://sqlcipher.net/sqlcipher-for-android/][here]].
70+
Recursively copy the =libs= directory into the root of your application, you will also need the =assets= directory copied into the root of your application folder. A detailed set of instructions and further customization can be found [[http://sqlcipher.net/sqlcipher-for-android/][here]].
7171

7272
*** License
7373

0 commit comments

Comments
 (0)