官术网_书友最值得收藏!

Chapter 2. Java Native Interface

In this chapter, we will cover the following recipes:

  • Loading native libraries and registering native methods
  • Passing parameters and receiving returns in primitive types
  • Manipulating strings in JNI
  • Managing references in JNI
  • Manipulating classes in JNI
  • Manipulating objects in JNI
  • Manipulating arrays in JNI
  • Accessing Java static and instance fields in native code
  • Calling static and instance methods from native code
  • Caching jfieldID, jmethodID, and reference data to improve performance
  • Checking errors and handling exceptions in JNI
  • Integrating assembly code in JNI
主站蜘蛛池模板: 安宁市| 德安县| 南安市| 武城县| 乌兰察布市| 南安市| 镇康县| 泰安市| 托克逊县| 新密市| 宣武区| 浦北县| 平泉县| 凤台县| 贺州市| 岐山县| 中江县| 柏乡县| 和林格尔县| 方城县| 黄梅县| 宜宾市| 武清区| 德化县| 丰都县| 万宁市| 名山县| 鱼台县| 内黄县| 扎赉特旗| 平陆县| 盐边县| 遵义市| 永胜县| 天等县| 浦城县| 怀仁县| 天水市| 石棉县| 故城县| 青铜峡市|