Is there a technical difference, which C++ file access a java file via JNI?
-
wrote on 9 Oct 2023, 18:52 last edited by
Hello there,
I´m wondering, when accessing java code from c++ files via JNI, is there a technical difference, which of the c++ files is used to access?
Am sorry, that I can´t state the question more specific.
E.g. when it´s about a c++ file belonging to a class with a .ui file and in the java code something is done with Android´s WindowManager - can there be different scopes depending from where the java code is called?best regards!
-
Hello there,
I´m wondering, when accessing java code from c++ files via JNI, is there a technical difference, which of the c++ files is used to access?
Am sorry, that I can´t state the question more specific.
E.g. when it´s about a c++ file belonging to a class with a .ui file and in the java code something is done with Android´s WindowManager - can there be different scopes depending from where the java code is called?best regards!
wrote on 10 Oct 2023, 19:52 last edited by@Flaming-Moe I use QAndroidJniObject::callStaticObjectMethod of Qt 5.15.2.
1/2