Fix various typos and grammar mistakes

This commit is contained in:
Sergey Matveev
2017-08-09 22:49:53 +03:00
parent 50ae976104
commit db700a252b
9 changed files with 23 additions and 23 deletions
+8 -8
View File
@@ -3,7 +3,7 @@ Building on Android
There are two versions: with QT and without QT.
Pre-requesties
Pre-requisites
--------------
You need to install Android SDK, NDK and QT with android support.
@@ -19,8 +19,8 @@ QT-Creator (for QT only)
------------------------
Open QT-creator that should be installed with QT.
Go to Settings/Anndroid and specify correct paths to SDK and NDK.
If everything is correct you will see two set avaiable:
Go to Settings/Android and specify correct paths to SDK and NDK.
If everything is correct you will see two set available:
Android for armeabi-v7a (gcc, qt) and Android for x86 (gcc, qt).
Dependencies
@@ -37,25 +37,25 @@ Building the app with QT
------------------------
- Open `qt/i2pd_qt/i2pd_qt.pro` in the QT-creator
- Change line `MAIN_PATH = /path/to/libraries` to an actual path where you put the dependancies to
- Change line `MAIN_PATH = /path/to/libraries` to an actual path where you put the dependencies to
- Select appropriate project (usually armeabi-v7a) and build
- You will find an .apk file in `android-build/bin` folder
Building the app without QT
---------------------------
- Change line `I2PD_LIBS_PATH` in `android/jni/Application.mk` to an actual path where you put the dependancies to
- Run `ndk-build -j4` from andorid folder
- Change line `I2PD_LIBS_PATH` in `android/jni/Application.mk` to an actual path where you put the dependencies to
- Run `ndk-build -j4` from android folder
- Create or edit file 'local.properties'. Place 'sdk.dir=<path to SDK>' and 'ndk.dir=<path to NDK>'
- Run `ant clean debug`
Creating release .apk
----------------------
In order to create release .apk you must obtain a Java keystore file(.jks). Either you have in already, or you can generate it yourself using keytool, or from one of you existing well-know ceritificates.
In order to create release .apk you must obtain a Java keystore file(.jks). Either you have in already, or you can generate it yourself using keytool, or from one of you existing well-know certificates.
For example, i2pd release are signed with this [certificate](https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/certificates/router/orignal_at_mail.i2p.crt).
Create file 'ant.propeties':
Create file 'ant.properties':
key.store='path to keystore file'
key.alias='alias name'
+1 -1
View File
@@ -27,7 +27,7 @@ Generic build process looks like this (with cmake):
cd i2pd/
make
After successfull build i2pd could be installed with:
After successful build i2pd could be installed with:
make install
+3 -3
View File
@@ -14,11 +14,11 @@ This guide assumes:
Notes on multithreading
* every compontent runs in its own thread
* every component runs in its own thread
* each component (usually) has a public function `GetService()` which can be used to obtain the `boost::asio::io_service` that it uses.
* when talking between components/threads, **always** use `GetService().post()` and be mindfull of stack allocated memory.
* when talking between components/threads, **always** use `GetService().post()` and be mindful of stack allocated memory.
### NetDb
@@ -83,7 +83,7 @@ If you use streaming please consider running all code within the destination thr
#### Garlic.h
Provides Inter-Destination routing primatives.
Provides Inter-Destination routing primitives.
##### i2p::garlic::GarlicDestination