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
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
*** Contributions
10
10
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.
12
12
13
13
*** An Illustrative Terminal Listing
14
14
@@ -46,7 +46,7 @@ We’ve packaged up a very simple SDK for any Android developer to add SQLCipher
46
46
47
47
1. Add a single sqlcipher.jar and a few .so’s to the application libs directory
48
48
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:
50
50
51
51
: SQLiteDatabase.loadLibs(this); //first init the db libraries with the context
@@ -59,15 +59,15 @@ Notepadbot is a sample application pulled from the standard Android samples code
59
59
60
60
*** Building
61
61
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:
63
63
64
64
: # this only needs to be done once
65
65
: make init
66
66
67
67
: # to build the source
68
68
: make
69
69
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]].
0 commit comments