mirror of
https://github.com/shortice/jila-android.git
synced 2026-07-21 04:03:05 +04:00
High-level C++ Android API interface. Created for Jila framework, but can used in other projects.
- C++ 64.2%
- Java 34.6%
- CMake 1.2%
| .github/workflows | ||
| docs | ||
| gradle/wrapper | ||
| jila-android | ||
| .gitignore | ||
| build.gradle | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle | ||
JILA Android Gradle Plugin
JILA Android is a lightweight Android library that provides a C++ interface to high-level Android API. Written for the Jila framework, but it's designed to be easily integrated into any C++-based library with included basic Android support.
Architecture
The library consists of two main parts:
-
Java Component: A high-level Java layer (
org.jila.android.Jila) that directly interacts with the Android SDK. -
C++ Component: A C++ layer with a simple C-style interface that acts as a bridge to the Java component. It uses JNI to call the Java methods. This allows your C++ code to access Android APIs without dealing with the complexities of JNI directly (and Android API).
How use?
Mini guide. One full example how use this lib in my SDL-JNI repository.