Info Call to native methods


List of all calls to methods using Java Native Interface to interact with native code (written in C/C++).


Data passed to NewStringUTF must be in Modified UTF-8 format

UTF-16 strings are not zero-terminated

Object references should never be compared using == or != in native code. When testing for object equality, the IsSameObject() function should be used instead of ==.

Technical details
  • Method>jniAttributeName((J J)Ljava/lang/String;)
  • Method>jniAttributeValue((J J)Ljava/lang/String;)
  • Method>jniChildElementNamed((J J Ljava/lang/String;)J)
  • Method>jniElementName((J J)Ljava/lang/String;)
  • Method>jniFirstChild((J J)J)
  • Method>jniFree((J)V)
  • Method>jniListAttributesForElement((J J)[J)
  • Method>jniListElementsForQuery((J J Ljava/lang/String;)[J)
  • Method>jniNextSibling((J J)J)
  • Method>jniNextSiblingNamed((J J Ljava/lang/String;)J)
  • Method>jniParse(([B)J)
  • Method>jniRootElement((J)J)
  • Method>jniTextForElement((J J)Ljava/lang/String;)
  • Method>jniValueOfAttributeNamed((J J Ljava/lang/String;)Ljava/lang/String;)