hello, is it possible to create Linux only compose...
# compose-desktop
m
hello, is it possible to create Linux only compose application that would include a Kotlin Native library that would handle communication via USB (or similar low level api)?
b
Yes, via jni
👍🏻 1
No direct compose/kotlin-native comms though
c
Compose Desktop uses Java APIs.
m
thank you 🙂
d
I did something similar with linuxcnc using JNI
b
Here's my sample setup to use K/N via JNI in CfD app
m
wow, this is huge, thank you. I’m checking this out!
b
Best part about it is that you don;t have to preinstall any native build dependencies! Took me a while to figure out, but quite happy with how it turned out. Previously I was using gradle cpp plugin which was a pain to setup on a fresh machine