update haptic jni directory and add test app.