Android JNI sample: function call from java to native, function call from native to java