I want to use java code inside my Qt Android app.
So, I use a QAndroidJniObject with the method callMethod, and it is supposed to return a jdoubleArray.It takes a const char argument.
QAndroidJniObject javaCode = QAndroidJniObject("/myJavaCode");
jdoubleArray result = javaCode.callMethod<jdoubleArray>("detect", "([C)[D", buffer_java);
I don't know why but it doesn't compile, but I saw some examples with int that seemed to works fine.
error: undefined reference to '_jdoubleArray* QAndroidJniObject::callMethod<_jdoubleArray*>(char const*, char const*, ...) const'
Thanks for your answers
Pierre