GNK
GNK

Reputation: 1088

Which is the better way to communicate data b/w from Java to C/C++ code in AOSP11/12

I am working on AOSP11/12. I am trying to understand which is the better way to understand commucate data b/w java to C++/C code.

I have created a test Android JNI application that communicates data between java and C++ code using this example(https://www.journaldev.com/28972/android-jni-application-ndk). But all java and C++ code in the same project.

In real-time, we have a C++ application it is already been developed by someone and I need to send/receive data from the java application in AOSP.

If you have any docs and examples please share them with me, It will be very helpful.

Thank you.

Upvotes: 1

Views: 48

Answers (0)

Related Questions