R
R
RoadToGamedev2020-10-16 03:35:45
Java
RoadToGamedev, 2020-10-16 03:35:45

How to call the simplest Java method from Android ndk?

Help with calling from Android NDK (c/c++) Java method. Let it be string / int or something else.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2020-10-16
@zagayevskiy

Google jni.
For example here .
Briefly, JNIEnv * comes to you from Java, which has two hundred different methods on the topic of interacting with Java. And you are not type-safe, in a reflective style, looking for methods on objects, and pulling them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question