My team is developing common bluetooth library for both iOS/Android.
iOS is OK however Android has problem.
I see that in Qt Bluetooth for Android, they are using JNI in order that C++ call Java.
Now my application has another JNI (Java call C++)
I use QAndroidJniObject::callStaticMethod with classname and failed
But if I use QAndroidJniObject::callStaticMethod with jclass parameter, it is successful.
I think that this problem is come from class loader isn't set rightly.
Are there any experts can shed me light?