How to pass/recevice data from java/Kotlin to C++ code or vice versa in android
I am working on AOSP11/12(Android) and want to communicate data from java/Kotlin to C++ code or vice versa.
Is that better way to create new service and communicate data or Need to create NDK application ?
Can you please suggest your valuable suggestions.
Thanks in advance.