I don't understand this well:
From looking at the documentation, it seems that the QAndroidJniObject constructor and methods have to be attaching and detaching the current thread to and from the JVM, which isn't going to work in a JNI thread that's already attached to the JVM.
Does this mean that, if I call C++ function(that uses QAndroidJniObject) from java JNI class, it is not going to work?
Because as I understand, QAndroidJniObject is attaching and detaching the current thread to and from the JVM, and the JNI java object that is calling native functions, is already attached to the JVM.
Please correct me if I am wrong.