JNI for android.os.MessageQueue