DroidGap:超时错误! - 呼吁在android系统的PhoneGap webViewClient [英] DroidGap: TIMEOUT ERROR! - calling webViewClient in android phonegap

查看:227
本文介绍了DroidGap:超时错误! - 呼吁在android系统的PhoneGap webViewClient的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PhoneGap.When我试图从调用的JavaScript web服务开发Android手机应用程序,我得到DroidGap:超时错误! - 在android系统的PhoneGap调用webViewClient

I am developing a android mobile application using PhoneGap.When I am trying to invoke a webservice from the javascript,I am getting DroidGap: TIMEOUT ERROR! - calling webViewClient in android phonegap

推荐答案

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

You need to increase the timeout value in the onCreate method of your Java class that extends DroidGap

super.setIntegerProperty("loadUrlTimeoutValue", 60000);

这篇关于DroidGap:超时错误! - 呼吁在android系统的PhoneGap webViewClient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆