For example, in android Java code, it calls a native method:
private native final String native_getParameters();
Where/how should I grep where is the C++ method defined native_getParameters();?
Thank you.
The C++ method will also contain your namespace (e.g. com.domain.your) and classname (e.g. YourActivity), it will look something like
JNIEXPORT jstring JNICALL Java_com_domain_your_YourActivity_native_1getParameters(JNIEnv * env, jclass clazz)
Note the C++ _1 equates to the _ in your Java method
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With