olm/android
Lukas Lihotzki 2949811917 Use CMake for Android builds (externalNativeBuild)
Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
2021-05-04 18:05:09 -04:00
..
gradle/wrapper Update gradle wrapper and build tools 2021-04-16 21:08:55 +02:00
olm-sdk Use CMake for Android builds (externalNativeBuild) 2021-05-04 18:05:09 -04:00
.DS_Store Move the android project from /Java/Android/OlmLibSdk 2017-01-10 16:06:21 +01:00
.gitignore Improve .gitignore: exclude generated files for test 2018-06-27 14:00:20 -04:00
build.gradle Update gradle wrapper and build tools 2021-04-16 21:08:55 +02:00
gradle.properties Fix test compilation and run test with success 2021-04-16 21:50:13 +02:00
gradlew Move the android project from /Java/Android/OlmLibSdk 2017-01-10 16:06:21 +01:00
gradlew.bat Move the android project from /Java/Android/OlmLibSdk 2017-01-10 16:06:21 +01:00
README.rst Update gradle wrapper and build tools 2021-04-16 21:08:55 +02:00
settings.gradle Move the android project from /Java/Android/OlmLibSdk 2017-01-10 16:06:21 +01:00

OlmLibSdk
=========

OlmLibSdk exposes an android wrapper to libolm.

Installation
------------
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')

Development
-----------
import the project from the ``android/`` path.

The project contains some JNI files and some Java wrapper files.

The project contains some tests under AndroidTests package.