title: How to use integers and booleans as input parameters in a jni function?
body: <p>I want to call in my java code a jni function with some integer parameter</p>
  
  <p><strong>JAVA Code</strong></p>
  
  <pre><code>invokeNativeFunction(integer1, integer2, boolean1);
  </code></pre>
  
  <p><strong>C code</strong></p>
  
  <pre><code>jstring Java_com_any_dom_Eservice_invokeNativeFunction(JNIEnv* env, jobject obj,
                                                      jint integer1, // is it correct to put jint?
                                                      jint integer2,
                                                      jbool boolean1) {
  }
  </code></pre>
  
  <p>How to use integers and booleans as input parameter in a <code>jni</code> function?</p>