Matthieu Gautier 06638d46b8 Remove thread lock.
This make the JNI wrapping *somehow* NOT threadsafe.

Few things are threadsafe "by nature":
- A lot of native method in libzim are threadsafe.
- Wrapping internal are threadsafe (shared_ptr).

What is not threadsafe is accessing the SAME java object from different
thread. But accessing the same wrapped cpp object using two different java
wrapper in two different thread is ok (assuming that the called cpp method
is threadsafe itself).
2023-01-24 17:11:27 +01:00
2023-01-24 17:11:27 +01:00

Maven Central CodeFactor License: GPL v3

Java Libkiwix binding for Java/Kotlin

Android Library for accessing libkiwix and libzim in android with JAVA wrapper.

Steps to build

Clone java-libkiwix

git clone https://github.com/kiwix/java-libkiwix.git
cd java-libkiwix

Install dependencies

./install_deps.sh

Compile

./gradlew generateHeaderFilesFromJavaWrapper
./gradlew build

AAR file will be generated in directory lib/build/outputs/aar

Description
Libkiwix binding for Java & Kotlin
Readme GPL-3.0 267 MiB
Languages
Java 57.2%
C++ 39.9%
CMake 1.9%
Shell 0.9%
HTML 0.1%