android jni common tool