className | Specifies the Java class name (e.g. "java.lang.String " or "java/lang/String "). |
args | An array of parameters passed to the constructor. |
Construct an AndroidJavaObject based on the name of the class.
This essentially means locate the class type, allocate an object and run the specified constructor.
jobject | A reference to existing Java object. |
Create AndroidJavaObject for existing Java object.
Does not take ownership of passed reference, you still have to delete it.
clazz | A pointer to Java class. |
constructorID | A method ID for the constructor to be used. |
args | An array of parameters passed to the constructor. |
Create AndroidJavaObject (and it's Java counterpart) using given Java class and constructor.