What is the method signature (for use with GetStaticMethodId) for this method:-
public static MyView newMyView() {
return new MyView(RhodesService.getInstance().getContext(), null);
}
Is it "()Lcom/nativestuff/MyView;"? (if the package is com.nativestuff?)
Yes
()Lcom/nativestuff/MyView;is correct. In general:B= byteC= charD= doubleF= floatI= intJ= longS= shortV= voidZ= booleanLfully-qualified-class= fully qualified class[type= array of type(). If return type isvoid(or constructor) use (argument types)V.