title: How to return an array from JNI to Java?
body: <p>I am attempting to use the android NDK.</p>
  
  <p>Is there a way to return an array (in my case an <code>int[]</code>) created in JNI to Java?  If so, please provide a quick example of the JNI function that would do this.</p>
  
  <p>-Thanks</p>