what is wrong with this call to the java method?

前端 未结 3 1267
鱼传尺愫
鱼传尺愫 2020-12-18 06:57

I am trying to call a Java method from the code. C code listens to either Escape, Shift, Ctrl key press, then it calls the Java method

3条回答
  •  难免孤独
    2020-12-18 07:08

    I believe you cannot call a java method that takes a String parameter and pass it a char*. You should call NewStringUTF first.

提交回复
热议问题