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
Asked
Active
Viewed 3,080 times
2 Answers
1
You need to increase the timeout value in the onCreate method of your Java class that extends DroidGap
super.setIntegerProperty("loadUrlTimeoutValue", 60000);

Divesh Salian
- 1,457
- 17
- 30
-
issue is only for single call or all the call? – Divesh Salian Aug 08 '13 at 09:53
-
Single call only.I am new to android mobile app development using Phonegap. – Nagaraj N Aug 08 '13 at 10:22
-
How much time is taking webservice for returning value check that depending upon that increase the timeout – Divesh Salian Aug 08 '13 at 10:35
0
Make sure you have updated your PhoneGap's whitelist to allow access to any external domains. Check here for the PhoneGap documentation.

kieranroneill
- 849
- 7
- 9