|
|
@ -539,7 +539,7 @@ bool CPhoneDevice::InstallAPP(const std::string& path, unsigned int delayedTime)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
jstring jpath = env->NewStringUTF(path.c_str());
|
|
|
|
jstring jpath = env->NewStringUTF(path.c_str());
|
|
|
|
env->CallVoidMethod(m_javaService, mInstallAppMid, jpath, (jlong)delayedTime);
|
|
|
|
env->CallBooleanMethod(m_javaService, mInstallAppMid, jpath, (jlong)delayedTime);
|
|
|
|
// env->ReleaseStringUTFChars(jpath, path.c_str());
|
|
|
|
// env->ReleaseStringUTFChars(jpath, path.c_str());
|
|
|
|
env->DeleteLocalRef(jpath);
|
|
|
|
env->DeleteLocalRef(jpath);
|
|
|
|
if (didAttachThread)
|
|
|
|
if (didAttachThread)
|
|
|
|