Is it possible to have Java or Kotlin Modules for the Android Backend, and call them from Rust with jni? #9512
-
|
Tauri offers a plugin system, where you can make Kotlin modules for Android, and call them from Rust. Is it possible to do something similar with Slint? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I'm not sure what Tauri Mobile Plugins are, but you can call java/kotlin code with JNI using the JNI crate. https://docs.rs/jni/latest/jni/ And native API using the NDK crate https://docs.rs/ndk/latest/ndk/ |
Beta Was this translation helpful? Give feedback.
I'm not sure what Tauri Mobile Plugins are, but you can call java/kotlin code with JNI using the JNI crate. https://docs.rs/jni/latest/jni/
And native API using the NDK crate https://docs.rs/ndk/latest/ndk/