AndroidJNI.CallStringMethod 调用字符串方法

static function CallStringMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : string


Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.


This is a convenience function that calls CallObjectMethod() with the same parameters, but creates a managed string from the result.


参见: Java Native Interface Specification (Oracle)

Page last updated: 2011-4-12