android - DroidGap:超时错误! - 在 android phonegap 中调用 webViewClient

标签 android cordova timeout droidgap

我正在使用 PhoneGap 开发 Android 移动应用程序。当我尝试从 javascript 调用 Web 服务时,我收到 DroidGap:超时错误! - 在 android phonegap 中调用 webViewClient

最佳答案

您需要在扩展 DroidGap 的 Java 类的 onCreate 方法中增加超时值

super.setIntegerProperty("loadUrlTimeoutValue", 60000);

关于android - DroidGap:超时错误! - 在 android phonegap 中调用 webViewClient,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18120078/

相关文章:

android - activity_main.xml 的 View 未显示在 activity_main.xml 的图形布局中

java - asmack - 无法读取 VCard

android - 将 ng-href 与 geo : Uri in Cordova does not work 一起使用

javascript - Cordova - jquery mobile img 路径

.NET:SqlDataReader.Close 或 .Dispose 导致超时过期异常

WCF 服务超时

android - 如果我使用 passwordToggleEnabled (EditText),我的 drawableLeft 就会消失

java - 找不到如何转换Tango点云

node.js - 如何在 Meteor 1.3 上安装 Cordova 插件

apache - 安装 PPTP 后 HTTPS 连接超时