DroidGap: TIMEOUT ERROR! - calling webViewClient in android phonegap

3k views Asked by At

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

2

There are 2 answers

3
Divesh Salian On BEST ANSWER

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

super.setIntegerProperty("loadUrlTimeoutValue", 60000);
0
kieranroneill On

Make sure you have updated your PhoneGap's whitelist to allow access to any external domains. Check here for the PhoneGap documentation.