QAndroidJniObject, how to give back data
-
I need to give back a list of objects from java.
I can call a java function having back a String without problem for example
QAndroidJniObject jString= QAndroidJniObject::callStaticObjectMethod<jstring>("it/denisgottardello/multimediapet/multimediapettouch/JavaBridge", "FetchData");but how can I have back a java.util.Vector, or a java.util.List, or an array of objects like this?
public class JavaObject {
public String Name;
}
I have tryied this but does not work:
QAndroidJniObject MyData= QAndroidJniObject::callStaticObjectMethod("it/denisgottardello/multimediapet/multimediapettouch/JavaBridge", "FetchData", "()Lit/denisgottardello/multimediapet/multimediapettouch/JavaObject;");Regards