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>closeCameraSamsungMoment(()V)
  • Method>openCameraSamsungMoment(()Ljava/lang/String;)
  • Method>setFlashLGAlly((I)Ljava/lang/String;)
  • Method>setFlashSamsungMoment((I I)Ljava/lang/String;)
  • Method>setMotoXTAFLED((I I)Ljava/lang/String;)