New Global Ref
Creates a new global reference to the object referred to by the obj argument. The obj argument may be a global or local reference. Global references must be explicitly disposed of by calling DeleteGlobalRef.
See also: JNI Reference.
Return
a global reference to the given obj.
Parameters
obj
a global or local reference. May be a NULL value, in which case this function will return NULL.