android 字符串调用方法名,AndroidJNI.CallStringMethod 调用字符串方法
AndroidJNI.CallStringMethod 調(diào)用字符串方法
static function CallStringMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : string
Description描述
Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.
調(diào)用一個(gè)由methodID定義的實(shí)例的Java方法,可選擇傳遞參數(shù)(args)的數(shù)組到這個(gè)方法。
This is a convenience function that calls ? CallObjectMethod() with the same parameters, but creates a managed ? string from the result.
這是一個(gè)方便的函數(shù),調(diào)用帶有相同參數(shù)的CallObjectMethod(),但從整個(gè)結(jié)果創(chuàng)建一個(gè)托管字符串。
參見: Java Native Interface Specification (Oracle)
,
總結(jié)
以上是生活随笔為你收集整理的android 字符串调用方法名,AndroidJNI.CallStringMethod 调用字符串方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: html5 image 同步,html5
- 下一篇: Android studio 按钮排版,