android jni string passed both ways