QJNIEnvironmentPrivate jniEnv;intandroidTZcount = jniEnv->GetArrayLength(static_cast<jarray>(androidAvailableIdList.object()) );// need separate jobject and QAndroidJniObject here so that we can delete (DeleteLocalRef) the reference to the jobject// (or else the JNI reference table fills...
env.DeleteLocalRef(result); }returnhandleScope.Escape(value); } Local<Array> ArgConverter::ConvertJavaArgsToJsArgs(jobjectArray args) { JEnv env;autoisolate = Isolate::GetCurrent();intargc = env.GetArrayLength(args) /3; Local<Array> arr(Array::New(isolate, argc));intjArrayIndex =0;for(...