add jni sample