JNI的语法

1.在C/C++中实现本地方法

生成C/C++头文件之后,你就需要写头文件对应的本地方法。注意:所有的本地方法的第一个参数都是指向JNIEnv结构的。这个结构是用来调用JNI函数的。第二个参数jclass的意义,要看方法是不是静态的(static)或者实例(Instance)的。前者,jclass代表一个类对象的引用,而后者是被调用的方法所属对象的引用。

返回值和参数类型根据等价约定映射到本地C/C++类型,如表JNI类型映射所示。有些类型,在本地代码中可直接使用,而其他类型只有通过JNI调用操作。

abiao.png

2.JNI函数大全

1、AndroidJNI.AllocObject 分配对象

static function AllocObject (clazz : IntPtr) : IntPtrDescription描述Allocates a new Java object without invoking any of the constructors for the object.分配新 Java 对象而不调用该对象的任何构造函数。返回该对象的引用。clazz 参数务必不要引用数组类。

2、AndroidJNI.AttachCurrentThread 附加当前线程

static function AttachCurrentThread () : intDescription描述Attaches the current thread to a Java (Dalvik) VM.附加当前线程到一个Java(Dalvik)虚拟机。A thread must be attached to the VM before any other JNI calls can be made.一个线程必须附加到虚拟机,在任何其他JNI可调用之前。Returns 0 on success; returns a negative number on failure.成功返回0,失败返回一个负数。

3、AndroidJNI.CallBooleanMethod 调用布尔方法

static function CallBooleanMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : boolDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

4、AndroidJNI.CallByteMethod 调用字节方法

static function CallByteMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : ByteDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.
调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

5、AndroidJNI.CallCharMethod 调用字符方法

static function CallCharMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : CharDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

6、AndroidJNI.CallDoubleMethod 调用双精度浮点数方法

static function CallDoubleMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : doubleDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

7、AndroidJNI.CallFloatMethod 调用浮点数方法

static function CallFloatMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : floatDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

8、AndroidJNI.CallIntMethod 调用整数方法

static function CallObjectMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : IntPtrDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

9、AndroidJNI.CallLongMethod 调用长整数方法

static function CallLongMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : Int64Description描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

10、AndroidJNI.CallObjectMethod 调用对象方法

static function CallObjectMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : IntPtrDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。This method returns a reference to a java.lang.Object, or a subclass thereof.这个方法返回一个引用到java.lang.Object,或者其子类。

11、AndroidJNI.CallShortMethod 调用短整数方法

static function CallShortMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : Int16Description描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

12、AndroidJNI.CallStaticBooleanMethod 调用静态布尔方法

static function CallStaticBooleanMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : boolDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

13、AndroidJNI.CallStaticByteMethod 调用静态字节方法

static function CallStaticByteMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : ByteDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

14、AndroidJNI.CallStaticCharMethod 调用静态字符方法

static function CallStaticCharMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : CharDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

15、AndroidJNI.CallStaticDoubleMethod 调用静态双精度浮点数方法

static function CallStaticDoubleMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : doubleDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

16、AndroidJNI.CallStaticFloatMethod 调用静态浮点数方法

static function CallStaticFloatMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : floatDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

17、AndroidJNI.CallStaticIntMethod 调用静态整数方法

static function CallStaticIntMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : Int32Description描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

18、AndroidJNI.CallStaticLongMethod 调用静态长整数方法

static function CallStaticLongMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : Int64Description描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

19、AndroidJNI.CallStaticObjectMethod 调用静态对象方法

static function CallStaticObjectMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : IntPtrDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。This method returns a reference to a java.lang.Object, or a subclass thereof.这个方法返回一个java.lang.Object的引用,或者其子类。

20、AndroidJNI.CallStaticShortMethod 调用静态短整数方法

static function CallStaticShortMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : Int16Description描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

21、AndroidJNI.CallStaticStringMethod 调用静态字符串方法

static function CallStaticStringMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : stringDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。This is a convenience function that calls CallStaticObjectMethod() with the same parameters, but creates a managed string from the result.这是一个方便的函数,调用带有相同参数的CallStaticObjectMethod(),但从该结果创建一个托管字符串。

22、AndroidJNI.CallStaticVoidMethod 调用静态无类型方法

static function CallStaticVoidMethod (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : voidDescription描述Invokes a static method on a Java object, according to the specified methodID, optionally passing an array of arguments (args) to the method.
在一个Java对象调用一个静态方法,根据指定的methodID,可选传递参数(args)的数组到该方法。

23、AndroidJNI.CallStringMethod 调用字符串方法

static function CallStringMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : stringDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。This is a convenience function that calls CallObjectMethod() with the same parameters, but creates a managed string from the result.这是一个方便的函数,调用带有相同参数的CallObjectMethod(),但从整个结果创建一个托管字符串。

24、AndroidJNI.CallVoidMethod 调用无类型方法

static function CallVoidMethod (obj : IntPtr, methodID : IntPtr, args : jvalue[]) : voidDescription描述Calls an instance (nonstatic) Java method defined by methodID, optionally passing an array of arguments (args) to the method.调用一个由methodID定义的实例的Java方法,可选择传递参数(args)的数组到这个方法。

25、AndroidJNI.DeleteGlobalRef 删除全局引用

static function DeleteGlobalRef (obj : IntPtr) : voidDescription描述Deletes the global reference pointed to by obj.删除 obj 所指向的全局引用。

26、AndroidJNI.DeleteLocalRef 删除局部引用

static function DeleteLocalRef (obj : IntPtr) : voidDescription描述Deletes the local reference pointed to by obj.删除 obj 所指向的局部引用。

27、AndroidJNI.DetachCurrentThread 分离当前线程

static function DetachCurrentThread () : intDescription描述Detaches the current thread from a Java (Dalvik) VM.从一个Java(Dalvik)虚拟机,分类当前线程。A thread must be detached from the VM before exiting.从退出虚拟机之前,一个线程必须被分类。

28、AndroidJNI.EnsureLocalCapacity 确保局部性能

static function EnsureLocalCapacity (capacity : int) : intDescription描述Ensures that at least a given number of local references can be created in the current thread.在当前线程确保至少一个可以被创建的给定局部引用数。

29、AndroidJNI.ExceptionClear 清除异常

static function ExceptionClear () : voidDescription描述Clears any exception that is currently being thrown.清除当前抛出的任何异常。如果当前无异常,则此例程不产生任何效果。

30、AndroidJNI.ExceptionDescribe 描述异常

static function ExceptionDescribe () : voidDescription描述Prints an exception and a backtrace of the stack to the logcat将异常及堆栈的回溯输出到系统错误报告信道。该例程可便利调试操作。

31、AndroidJNI.ExceptionOccurred 发生异常

static function ExceptionOccurred () : IntPtrDescription描述Determines if an exception is being thrown确定是否某个异常正被抛出。

32、AndroidJNI.FatalError 致命错误

static function FatalError (message : string) : voidDescription描述Raises a fatal error and does not expect the VM to recover. This function does not return.抛出致命错误并且不希望虚拟机进行修复。该函数无返回值。

33、AndroidJNI.FindClass 查找类

static function FindClass (name : string) : IntPtrDescription描述This function loads a locally-defined class.这个函数加载一个本地定义的类。

34、AndroidJNI.FromBooleanArray 从布尔数组

static function FromBooleanArray (array : IntPtr) : Boolean[]Description描述Convert a Java array of boolean to a managed array of System.Boolean.转换一个Java布尔数组到一个托管System.Boolean数组。

35、AndroidJNI.FromByteArray 从字节数组

static function FromByteArray (array : IntPtr) : Byte[]Description描述Convert a Java array of byte to a managed array of System.Byte.转换一个Java字节数组到一个托管的System.Byte数组。

36、AndroidJNI.FromCharArray 从字符数组

static function FromCharArray (array : IntPtr) : Char[]Description描述Convert a Java array of char to a managed array of System.Char.转换一个Java字符数组到一个托管的System.Char数组。

37、AndroidJNI.FromDoubleArray 从双精度浮点数数组

static function FromDoubleArray (array : IntPtr) : double[]Description描述Convert a Java array of double to a managed array of System.Double.转换一个Java双精度浮点数数组到一个托管的System.Double数组。

38、AndroidJNI.FromFloatArray 从浮点数数组

static function FromFloatArray (array : IntPtr) : float[]Description描述Convert a Java array of float to a managed array of System.Single.转换一个Java浮点数数组到一个托管的System.Single数组。

39、AndroidJNI.FromIntArray 从整数数组

static function FromIntArray (array : IntPtr) : Int32[]Description描述Convert a Java array of int to a managed array of System.Int32.转换一个Java整数数组到一个托管的System.Int32数组。

40、AndroidJNI.FromLongArray 从整长数数组

static function FromLongArray (array : IntPtr) : Int64[]Description描述Convert a Java array of long to a managed array of System.Int64.转换一个Java长整数数组到一个托管的System.Int64数组。

41、AndroidJNI.FromObjectArray 从对象数组

static function FromObjectArray (array : IntPtr) : IntPtr[]Description描述Convert a Java array of java.lang.Object to a managed array of System.IntPtr, representing Java objects转换一个Java的java.lang.Object数组到一个托管的System.IntPtr数组,表示Java对象。

42、AndroidJNI.FromReflectedField 来自反射的域

static function FromReflectedField (refField : IntPtr) : IntPtrDescription描述Converts a java.lang.reflect.Field to a field ID.转换一个java.lang.reflect.Field到一个域ID。

43、AndroidJNI.FromReflectedMethod 来自反射的方法

static function FromReflectedMethod (refMethod : IntPtr) : IntPtrDescription描述Converts a java.lang.reflect.Method or java.lang.reflect.Constructor object to a method ID.转换一个java.lang.reflect.Method或java.lang.reflect.Constructor对象到一个方法ID。

44、AndroidJNI.FromShortArray 从短整数数组

static function FromShortArray (array : IntPtr) : Int16[]Description描述Convert a Java array of short to a managed array of System.Int16.
转换一个Java短整数数组到一个托管的System.Int16数组。

45、AndroidJNI.GetArrayLength 获取数组长度

static function GetArrayLength (array : IntPtr) : intDescription描述Returns the number of elements in the array.返回数组的元素数。

46、AndroidJNI.GetBooleanArrayElement 获取布尔数组元素

static function GetBooleanArrayElement (array : IntPtr, index : int) : boolDescription描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetBooleanArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetBooleanArrayRegion(),就是region大小设置为1时。

47、AndroidJNI.GetBooleanField 获取布尔域

static function GetBooleanField (obj : IntPtr, fieldID : IntPtr) : boolDescription描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

48、AndroidJNI.GetByteArrayElement 获取字节数组元素

static function GetByteArrayElement (array : IntPtr, index : int) : ByteDescription描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetByteArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetByteArrayRegion(),就是region大小设置为1时。

49、AndroidJNI.GetByteField 获取字节域

static function GetByteField (obj : IntPtr, fieldID : IntPtr) : ByteDescription描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

50、AndroidJNI.GetCharArrayElement 获取字符数组元素

static function GetCharArrayElement (array : IntPtr, index : int) : CharDescription描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetCharArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetCharArrayRegion(),就是region大小设置为1时。

51、AndroidJNI.GetCharField 获取字符域

static function GetCharField (obj : IntPtr, fieldID : IntPtr) : CharDescription描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

52、AndroidJNI.GetDoubleArrayElement 获取双精度浮点数数组元素

static function GetDoubleArrayElement (array : IntPtr, index : int) : doubleDescription描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetDoubleArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetDoubleArrayRegion(),就是region大小设置为1时。

53、AndroidJNI.GetDoubleField 获取双精度浮点数域

static function GetDoubleField (obj : IntPtr, fieldID : IntPtr) : doubleDescription描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

54、AndroidJNI.GetFieldID 获取域ID

static function GetFieldID (clazz : IntPtr, name : string, sig : string) : IntPtrDescription描述Returns the field ID for an instance (nonstatic) field of a class.返回类的实例(非静态)域的域 ID。该域由其名称及签名指定。GetFieldID() 将未初始化的类初始化。

55、AndroidJNI.GetFloatArrayElement 获取浮点数数组元素

static function GetFloatArrayElement (array : IntPtr, index : int) : floatDescription描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetFloatArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetFloatArrayRegion(),就是region大小设置为1时。

56、AndroidJNI.GetFloatField 获取浮点数域

static function GetFloatField (obj : IntPtr, fieldID : IntPtr) : floatDescription描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

57、AndroidJNI.GetIntArrayElement 获取整数数组元素

static function GetIntArrayElement (array : IntPtr, index : int) : Int32Description描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetIntArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetIntArrayRegion(),就是region大小设置为1时。

58、AndroidJNI.GetIntField 获取整数域

static function GetIntField (obj : IntPtr, fieldID : IntPtr) : Int32Description描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

59、AndroidJNI.GetLongArrayElement 获取长整数数组元素

static function GetLongArrayElement (array : IntPtr, index : int) : Int64Description描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetLongArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetLongArrayRegion(),就是region大小设置为1时。

60、AndroidJNI.GetLongField 获取长整数域

static function GetLongField (obj : IntPtr, fieldID : IntPtr) : Int64Description描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

61、AndroidJNI.GetMethodID 获取方法ID

static function GetMethodID (clazz : IntPtr, name : string, sig : string) : IntPtrDescription描述Returns the method ID for an instance (nonstatic) method of a class or interface.返回类或接口实例(非静态)方法的方法 ID。方法可在某个 clazz 的超类中定义,也可从 clazz 继承。该方法由其名称和签名决定。GetMethodID() 可使未初始化的类初始化。

62、AndroidJNI.GetObjectArrayElement 获取对象数组元素

static function GetObjectArrayElement (array : IntPtr, index : int) : IntPtrDescription描述Returns an element of an Object array.返回一个对象数组的一个元素。

63、AndroidJNI.GetObjectClass 获取对象类

static function GetObjectClass (obj : IntPtr) : IntPtrDescription描述Returns the class of an object.返回一个对象的类。

64、AndroidJNI.GetObjectField 获取对象域

static function GetObjectField (obj : IntPtr, fieldID : IntPtr) : IntPtrDescription描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。The result is a reference to a java.lang.Object, or a subclass thereof.其结果是对一个java.lang.Object的引用,或者其子类。

65、AndroidJNI.GetShortArrayElement 获取短整数数组元素

static function GetShortArrayElement (array : IntPtr, index : int) : Int16Description描述Returns the value of one element of a primitive array.返回一个基本数组一个元素的值。This function is a special case of GetShortArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的GetShortArrayRegion(),就是region大小设置为1时。

66、AndroidJNI.GetShortField 获取短整数域

static function GetShortField (obj : IntPtr, fieldID : IntPtr) : Int16Description描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。

67、AndroidJNI.GetStaticBooleanField 获取静态布尔域

static function GetStaticBooleanField (clazz : IntPtr, fieldID : IntPtr) : boolDescription描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

68、AndroidJNI.GetStaticByteField 获取静态字节域

static function GetStaticByteField (clazz : IntPtr, fieldID : IntPtr) : ByteDescription描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

69、AndroidJNI.GetStaticCharField 获取静态字符域

static function GetStaticCharField (clazz : IntPtr, fieldID : IntPtr) : CharDescription描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

70、AndroidJNI.GetStaticDoubleField 获取静态双精度浮点数域

static function GetStaticDoubleField (clazz : IntPtr, fieldID : IntPtr) : doubleDescription描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

71、AndroidJNI.GetStaticFieldID 获取静态域ID

static function GetStaticFieldID (clazz : IntPtr, name : string, sig : string) : IntPtrDescription描述Returns the field ID for a static field of a class.返回类的静态域的域 ID。域由其名称和签名指定。GetStaticFieldID() 将未初始化的类初始化。

72、AndroidJNI.GetStaticFloatField 获取静态浮点数域

static function GetStaticFloatField (clazz : IntPtr, fieldID : IntPtr) : floatDescription描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

73、AndroidJNI.GetStaticIntField 获取静态整数域

static function GetStaticIntField (clazz : IntPtr, fieldID : IntPtr) : Int64Description描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

74、AndroidJNI.GetStaticLongField 获取静态长整数域

static function GetStaticLongField (clazz : IntPtr, fieldID : IntPtr) : Int64Description描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

75、AndroidJNI.GetStaticMethodID 获取静态方法ID

static function GetStaticMethodID (clazz : IntPtr, name : string, sig : string) : IntPtrDescription描述Returns the method ID for a static method of a class.返回类的静态方法的方法 ID。方法由其名称和签名指定。GetStaticMethodID() 将未初始化的类初始化。

76、AndroidJNI.GetStaticObjectField 获取静态对象域

static function GetStaticObjectField (clazz : IntPtr, fieldID : IntPtr) : IntPtrDescription描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。The result is a reference to a java.lang.Object, or a subclass thereof.该结果是一个java.lang.Object的引用,或者其子类。

77、AndroidJNI.GetStaticShortField 获取静态短整数域

static function GetStaticShortField (clazz : IntPtr, fieldID : IntPtr) : Int16Description描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。

78、AndroidJNI.GetStaticStringField 获取静态字符串域

static function GetStaticStringField (clazz : IntPtr, fieldID : IntPtr) : stringDescription描述This function returns the value of a static field of an object.这个函数返回一个对象静态域的值。This is a convenience function that calls GetStaticObjectField() with the same parameters, but creates a managed string from the result.这是一个方便的函数,调用带有相同参数的GetStaticObjectField(),但从该结果创建一个托管字符串。

79、AndroidJNI.GetStringField 获取字符串域

static function GetStringField (obj : IntPtr, fieldID : IntPtr) : stringDescription描述This function returns the value of an instance (nonstatic) field of an object.这个函数返回一个对象实例(非静态)域的值。This is a convenience function that calls GetObjectField() with the same parameters, but creates a managed string from the result.这是一个方便的函数,调用带有相同参数的GetObjectField(),但从结果创建一个托管字符串。

80、AndroidJNI.GetStringUTFChars 获取字符串UTF的字符

static function GetStringUTFChars (str : IntPtr) : stringDescription描述Returns a managed string object representing the string in modified UTF-8 encoding.返回由UTF-8修改的托管的字符串对象。另解,返回指向字符串的 UTF-8 字符数组的指针。This method is a modification of the original GetStringUTFChars, which returns a pointer to an array of bytes.这个方法是原始GetStringUTFChars的修改,返回指向字节的数组。

81、AndroidJNI.GetStringUTFLength 获取字符串UTF的长度

static function GetStringUTFLength (str : IntPtr) : intDescription描述Returns the length in bytes of the modified UTF-8 representation of a string.以字节为单位返回字符串的 UTF-8 长度。

82、AndroidJNI.GetSuperclass 获取超类

static function GetSuperclass (clazz : IntPtr) : IntPtrDescription描述If clazz represents any class other than the class Object, then this function returns the object that represents the superclass of the class specified by clazz.如果 clazz 代表类而非类 object,则该函数返回由 clazz 所指定的类的超类。If clazz specifies the class Object, or clazz represents an interface, this function returns NULL.如果 clazz 指定类 Object,或代表某个接口,则该函数返回 NULL。

83、AndroidJNI.GetVersion 获取版本

static function GetVersion () : intDescription描述Returns the version of the native method interface.返回本地方法接口的版本。

84、AndroidJNI.IsAssignableFrom 是否可赋值

static function IsAssignableFrom (clazz1 : IntPtr, clazz2 : IntPtr) : boolDescription描述Determines whether an object of clazz1 can be safely cast to clazz2.确定 clazz1 的对象是否可安全地强制转换为 clazz2。

85、AndroidJNI.IsInstanceOf 是否某类的实例

static function IsInstanceOf (obj : IntPtr, clazz : IntPtr) : boolDescription描述Tests whether an object is an instance of a class.测试对象是否为某个类的实例。

86、AndroidJNI.IsSameObject 是否同一对象

static function IsSameObject (obj1 : IntPtr, obj2 : IntPtr) : boolDescription描述Tests whether two references refer to the same Java object.测试两个引用是否引用同一 Java 对象。

87、AndroidJNI.NewBooleanArray 新建布尔数组

static function NewBooleanArray (size : int) : IntPtrDescription描述Construct a new primitive array object.构造一个新的基本数组对象。

88、AndroidJNI.NewByteArray 新建字节数组

static function NewByteArray (size : int) : IntPtrDescription描述Construct a new primitive array object.构造一个新的基本数组对象。

89、AndroidJNI.NewCharArray 新建字符数组

static function NewCharArray (size : int) : IntPtrDescription描述Construct a new primitive array object.构造一个新的基本数组对象。

90、AndroidJNI.NewDoubleArray 新建双精度浮点数数组

static function NewDoubleArray (size : int) : IntPtrDescription描述Construct a new primitive array object.构造一个新的基本数组对象。

91、AndroidJNI.NewFloatArray 新建浮点数数组

static function NewFloatArray (size : int) : IntPtrDescription描述Construct a new primitive array object.构造一个新的基本数组对象。

92、AndroidJNI.NewGlobalRef 新建全局引用

static function NewGlobalRef (obj : IntPtr) : IntPtrDescription描述Creates a new global reference to the object referred to by the obj argument.创建 obj 参数所引用对象的新全局引用。全局引用通过调用 DeleteGlobalRef() 来显式撤消。返回全局引用。如果系统内存不足则返回 NULL。

93、AndroidJNI.NewIntArray 新建整数数组

static function NewIntArray (size : int) : IntPtrDescription描述Construct a new primitive array object.构造一个新的基本数组对象。

94、AndroidJNI.NewLocalRef 新建局部引用

static function NewLocalRef (obj : IntPtr) : IntPtrDescription描述Creates a new local reference that refers to the same object as obj.创建 obj 参数对象的新局部引用。

95、AndroidJNI.NewLongArray 新建长整数数组

static function NewLongArray (size : int) : IntPtrDescription描述Construct a new primitive array object.
构造一个新的基本数组对象。

96、AndroidJNI.NewObjectArray 新建对象数组

static function NewObjectArray (size : int, clazz : IntPtr, obj : IntPtr) : IntPtrDescription描述Constructs a new array holding objects in class clazz. All elements are initially set to obj.构造新的数组,它将保存在类 clazz 中的对象。所有元素初始值均设为 obj。

97、AndroidJNI.NewObject 新建对象

static function NewObject (clazz : IntPtr, methodID : IntPtr, args : jvalue[]) : IntPtrDescription描述Constructs a new Java object. The method ID indicates which constructor method to invoke. This ID must be obtained by calling GetMethodID() with as the method name and void (V) as the return type.构造新的 Java 对象。方法 ID指示应调用的构造函数方法。该 ID 必须通过调用 GetMethodID() 获得,且调用时的方法名必须为 ,而返回类型必须为 void (V)。clazz 参数务必不要引用数组类。98、AndroidJNI.NewShortArray 新建短整数数组
static function NewShortArray (size : int) : IntPtrDescription描述Construct a new primitive array object.构造一个新的基本数组对象。

99、AndroidJNI.NewStringUTF 新建UTF字符串

static function NewStringUTF (bytes : string) : IntPtrDescription描述Constructs a new java.lang.String object from an array of characters in modified UTF-8 encoding.利用 UTF-8 字符数组构造新的 java.lang.String 对象。

100、AndroidJNI.PopLocalFrame 弹出局部帧

static function PopLocalFrame (result : IntPtr) : IntPtrDescription描述Pops off the current local reference frame, frees all the local references, and returns a local reference in the previous local reference frame for the given result object.弹出关闭当前局部引用帧,释放所有的本地引用,并返回一个局部引用,在前一个局部引用帧,用于给定的结果对象。 PushLocalFrame为一定数量的局部引用创建了一个使用堆栈,而PopLocalFrame负责销毁堆栈顶端的引用。 Push/PopLocalFrame函数对提供了对局部引用的生命周期更方便的管理。 在管理局部引用的生命周期中,Push/PopLocalFrame是非常方便的。你可以在本地函数的入口处调用PushLocalFrame,然后在出 口处调用PopLocalFrame,这样的话,在函数对中间任何位置创建的局部引用都会被释放。而且,这两个函数是非常高效的。 如果你在函数的入口处调用了PushLocalFrame,记住在所有的出口(有return出现的地方)调用PopLocalFrame。 大量的局部引用创建会浪费不必要的内存。一个局部引用会导致它本身和它所指向的对象都得不到回收。尤其要注意那些长时间运行的方法、创建局部引用的循环和工具函数,充分得利用Pus/PopLocalFrame来高效地管理局部引用。

101、AndroidJNI.PushLocalFrame 压入局部帧

static function PushLocalFrame (capacity : int) : intDescription描述Creates a new local reference frame, in which at least a given number of local references can be created.创建一个新的局部引入帧,至少一个给定的局部引用可以被创建的数。 PushLocalFrame为一定数量的局部引用创建了一个使用堆栈,而PopLocalFrame负责销毁堆栈顶端的引用。 Push/PopLocalFrame函数对提供了对局部引用的生命周期更方便的管理。 在管理局部引用的生命周期中,Push/PopLocalFrame是非常方便的。你可以在本地函数的入口处调用PushLocalFrame,然后在出 口处调用PopLocalFrame,这样的话,在函数对中间任何位置创建的局部引用都会被释放。而且,这两个函数是非常高效的。 如果你在函数的入口处调用了PushLocalFrame,记住在所有的出口(有return出现的地方)调用PopLocalFrame。 大量的局部引用创建会浪费不必要的内存。一个局部引用会导致它本身和它所指向的对象都得不到回收。尤其要注意那些长时间运行的方法、创建局部引用的循环和工具函数,充分得利用Pus/PopLocalFrame来高效地管理局部引用。

102、AndroidJNI.SetBooleanArrayElement 设置布尔数组数组元素

static function SetBooleanArrayElement (array : IntPtr, index : int, val : byte) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetBooleanArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetBooleanArrayRegion(),就是region大小设置为1时。

103、AndroidJNI.SetBooleanField 设置布尔域

static function SetBooleanField (obj : IntPtr, fieldID : IntPtr, val : bool) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

104、AndroidJNI.SetByteArrayElement 设置字节数组元素

static function SetByteArrayElement (array : IntPtr, index : int, val : sbyte) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetByteArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetByteArrayRegion(),就是region大小设置为1时。

106、AndroidJNI.SetByteField 设置字节域

static function SetByteField (obj : IntPtr, fieldID : IntPtr, val : Byte) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

107、AndroidJNI.SetCharArrayElement 设置字符数组元素

static function SetCharArrayElement (array : IntPtr, index : int, val : Char) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetCharArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetCharArrayRegion(),就是region大小设置为1时。

108、AndroidJNI.SetCharField 设置字符域

static function SetCharField (obj : IntPtr, fieldID : IntPtr, val : Char) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

109、AndroidJNI.SetDoubleArrayElement 设置双精度浮点数数组元素

static function SetDoubleArrayElement (array : IntPtr, index : int, val : double) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetDoubleArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetDoubleArrayRegion(),就是region大小设置为1时。

110、AndroidJNI.SetDoubleField 设置双精度浮点数域

static function SetDoubleField (obj : IntPtr, fieldID : IntPtr, val : double) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

111、AndroidJNI.SetFloatArrayElement 设置浮点数数组元素

static function SetFloatArrayElement (array : IntPtr, index : int, val : float) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetFloatArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetFloatArrayRegion(),就是region大小设置为1时。

112、AndroidJNI.SetFloatField 设置浮点数域

static function SetFloatField (obj : IntPtr, fieldID : IntPtr, val : float) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

113、AndroidJNI.SetIntArrayElement 设置整数数组元素

static function SetIntArrayElement (array : IntPtr, index : int, val : Int32) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetIntArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetIntArrayRegion(),就是region大小设置为1时。

114、AndroidJNI.SetIntField 设置整数域

static function SetIntField (obj : IntPtr, fieldID : IntPtr, val : Int32) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

115、AndroidJNI.SetLongArrayElement 设置长整数数组元素

static function SetLongArrayElement (array : IntPtr, index : int, val : Int64) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetLongArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetLongArrayRegion(),就是region大小设置为1时。

116、AndroidJNI.SetLongField 设置长整数域

static function SetLongField (obj : IntPtr, fieldID : IntPtr, val : Int64) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

117、AndroidJNI.SetObjectArrayElement 设置对象数组元素

static function SetObjectArrayElement (array : IntPtr, index : int, obj : IntPtr) : voidDescription描述Sets an element of an Object array.设置一个对象数组的一个元素。

118、AndroidJNI.SetObjectField 设置对象域

static function SetObjectField (obj : IntPtr, fieldID : IntPtr, val : IntPtr) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。The value to set is a reference to either a java.lang.Object, or a subclass thereof.要设置的值无论是一个java.lang.Object的引用,或者其子类。

119、AndroidJNI.SetShortArrayElement 设置短整数数组元素

static function SetShortArrayElement (array : IntPtr, index : int, val : Int16) : voidDescription描述Sets the value of one element in a primitive array.设置一个基本数组一个元素的值。This function is a special case of SetShortArrayRegion(), called with region size set to 1.这个函数是一个特殊情况的SetShortArrayRegion(),就是region大小设置为1时。

120、AndroidJNI.SetShortField 设置短整数域

static function SetShortField (obj : IntPtr, fieldID : IntPtr, val : Int16) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。

121、AndroidJNI.SetStaticBooleanField 设置静态布尔域

static function SetStaticBooleanField (clazz : IntPtr, fieldID : IntPtr, val : bool) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

122、AndroidJNI.SetStaticByteField 设置静态字节域

static function SetStaticByteField (clazz : IntPtr, fieldID : IntPtr, val : Byte) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

123、AndroidJNI.SetStaticCharField 设置静态字符域

static function SetStaticCharField (clazz : IntPtr, fieldID : IntPtr, val : Char) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

124、AndroidJNI.SetStaticDoubleField 设置静态双精度浮点数域

static function SetStaticDoubleField (clazz : IntPtr, fieldID : IntPtr, val : double) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

125、AndroidJNI.SetStaticFloatField 设置静态浮点数域

static function SetStaticFloatField (clazz : IntPtr, fieldID : IntPtr, val : float) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

126、AndroidJNI.SetStaticIntField 设置静态整数域

static function SetStaticIntField (clazz : IntPtr, fieldID : IntPtr, val : Int32) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

127、AndroidJNI.SetStaticLongField 设置静态长整数域

static function SetStaticLongField (clazz : IntPtr, fieldID : IntPtr, val : Int64) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

128、AndroidJNI.SetStaticObjectField 设置静态对象域

static function SetStaticObjectField (clazz : IntPtr, fieldID : IntPtr, val : IntPtr) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。The value to set is a reference to either a java.lang.Object, or a subclass thereof.设置该值不管是一个java.lang.Object的引用,或是其子类。

129、AndroidJNI.SetStaticShortField 设置静态短整数域

static function SetStaticShortField (clazz : IntPtr, fieldID : IntPtr, val : Int16) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。

130、AndroidJNI.SetStaticStringField 设置静态字符串域

static function SetStaticStringField (clazz : IntPtr, fieldID : IntPtr, val : string) : voidDescription描述This function ets the value of a static field of an object.这个函数设置一个对象的静态域的值。This is a convenience function that calls SetStaticObjectField() with the same parameters, but performs the necessary marshalling of the string value.这是一个方便的函数,调用带有相同参数的SetStaticObjectField(),但执行需要字符串的值编组。

131、AndroidJNI.SetStringField 设置字符串域

static function SetStringField (obj : IntPtr, fieldID : IntPtr, val : string) : voidDescription描述This function sets the value of an instance (nonstatic) field of an object.这个函数设置一个对象实例(非静态)域的值。This is a convenience function that calls SetObjectField() with the same parameters, but performs the necessary marshalling of the string value.这是一个方便的函数,调用带有相同参数的SetObjectField(),但执行字符串的值需要编组。

132、AndroidJNI.ThrowNew 新的抛出

static function ThrowNew (clazz : IntPtr, message : string) : intDescription描述Constructs an exception object from the specified class with the message specified by message and causes that exception to be thrown.利用指定类的消息(由 message 指定)构造异常对象并抛出该异常。

133、AndroidJNI.Throw 抛出

static function Throw (obj : IntPtr) : intDescription描述Causes a java.lang.Throwable object to be thrown.导致一个java.lang.Throwable的对象被抛出。

134、AndroidJNI.ToBooleanArray 到布尔数组

static function ToBooleanArray (array : Boolean[]) : IntPtrDescription描述Convert a managed array of System.Boolean to a Java array of boolean.转换一个System.Boolean的托管数组到一个Java布尔数组。

135、AndroidJNI.ToByteArray 到字节数组

static function ToByteArray (array : Byte[]) : IntPtrDescription描述Convert a managed array of System.Byte to a Java array of byte.转换一个System.Byte的托管数组到一个Java的字节数组。

136、AndroidJNI.ToCharArray 到字符数组

static function ToCharArray (array : Char[]) : IntPtrDescription描述Convert a managed array of System.Char to a Java array of char.转换一个System.Char的托管数组到一个Java的字符数组。

137、AndroidJNI.ToDoubleArray 到双精度浮点数数组

static function ToDoubleArray (array : double[]) : IntPtrDescription描述Convert a managed array of System.Double to a Java array of double.转换一个System.Double的托管数组到一个Java的双精度浮点数数组。

138、AndroidJNI.ToFloatArray 到浮点数数组

static function ToFloatArray (array : float[]) : IntPtrDescription描述Convert a managed array of System.Single to a Java array of float.转换一个System.Single的托管数组到一个Java的浮点数数组。

139、AndroidJNI.ToIntArray 到整数数组

static function ToIntArray (array : Int32[]) : IntPtrDescription描述Convert a managed array of System.Int32 to a Java array of int.转换一个System.Int32的托管数组到一个Java的整数数组。

140、AndroidJNI.ToLongArray 到长整数数组

static function ToLongArray (array : Int64[]) : IntPtrDescription描述Convert a managed array of System.Int64 to a Java array of long.转换一个System.Int64的托管数组到一个Java的长整数数组。

141、AndroidJNI.ToObjectArray 到对象数组

static function ToObjectArray (array : IntPtr[]) : IntPtrDescription描述Convert a managed array of System.IntPtr, representing Java objects, to a Java array of java.lang.Object.转换一个System.IntPtr的托管数组,表示Java对象,到一个Java的java.lang.Object数组。

142、AndroidJNI.ToReflectedField 到反射的域

static function ToReflectedField (clazz : IntPtr, fieldID : IntPtr, isStatic : bool) : IntPtrDescription描述Converts a field ID derived from cls to a java.lang.reflect.Field object.转换一个取自clazz的域ID到一个java.lang.reflect.Field对象。

143、AndroidJNI.ToReflectedMethod 到反射的方法

static function ToReflectedMethod (clazz : IntPtr, methodID : IntPtr, isStatic : bool) : IntPtrDescription描述Converts a method ID derived from clazz to a java.lang.reflect.Method or java.lang.reflect.Constructor object.转换一个取自clazz的方法ID到一个java.lang.reflect.Method 或 java.lang.reflect.Constructor对象。

144、AndroidJNI.ToShortArray 到短整数数组

static function ToShortArray (array : Int16[]) : IntPtrDescription描述Convert a managed array of System.Int16 to a Java array of short.转换一个System.Int16的托管数组到一个Java的短整数数组。
来自:学而不思则罔,思而不学则贻

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 151,688评论 1 330
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 64,559评论 1 273
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 101,749评论 0 226
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 42,581评论 0 191
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 50,741评论 3 271
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 39,684评论 1 192
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,122评论 2 292
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 29,847评论 0 182
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 33,441评论 0 228
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 29,939评论 2 232
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 31,333评论 1 242
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 27,783评论 2 236
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 32,275评论 3 220
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 25,830评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,444评论 0 180
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 34,553评论 2 249
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 34,618评论 2 249

推荐阅读更多精彩内容