@aliva666 wrote:
Hi, i'm using a JNI button on the android app i can get the button working but inside of the OF code but i can only print i can't use any variables or functions of the ofApp.cpp how can i communicate variables of the JNI part to the .cpp ? heres is the code
extern "C"{
JNIEXPORT void JNICALL
Java_cc_openframeworks_androidUiExample_OFActivity_callCmethod(JNIEnv *, jobject thiz, jint param){ofLog() << "jala"; }
Posts: 6
Participants: 2