2016-12-20 10:42:06 +01:00
|
|
|
OlmLibSdk
|
|
|
|
=========
|
|
|
|
|
2017-01-10 12:32:52 +01:00
|
|
|
OlmLibSdk exposes an android wrapper to libolm.
|
2016-12-20 10:42:06 +01:00
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
2017-01-10 12:32:52 +01:00
|
|
|
Create a libs directory in your project directory
|
|
|
|
Copy the olm-sdk.aar into it.
|
|
|
|
|
|
|
|
In your build.gradle file, add in the android section::
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
flatDir {
|
|
|
|
dir 'libs'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Add in the dependencies category::
|
|
|
|
|
|
|
|
compile(name: 'olm-sdk', ext: 'aar')
|
2016-12-20 10:42:06 +01:00
|
|
|
|
|
|
|
Development
|
|
|
|
-----------
|
2017-01-10 12:32:52 +01:00
|
|
|
import the project from the ``/java/android/OlmLibSdk`` path.
|
2016-12-20 10:42:06 +01:00
|
|
|
|
|
|
|
The project contains some JNI files and some Java wraper files.
|
|
|
|
|
2017-01-10 12:32:52 +01:00
|
|
|
The project contains some tests under AndroidTests package.
|