srikandula
Programmer
I need to pass a user defined object from my c program to java program via jni. It allows me to return java objects like String, or array of String to the calling function in java. But if the object to be returned is a user defined object then it gives an error message saying it can't convert from the user defined object to jobject type. Is there a way of creating some mapping or another solution to this?