I am facing a strange issue. I create a simple PhoenGap app, that loads a HTML website no JavaScript so far. I am able to start the app using a
2.3.3 emulator
4.0.3 emulator
4.1 emulator
or
2.3.3 device
but the app crashes with a "CardovaWebView: TIMEOUT ERROR" in the console and a "Application Error: The connection to the server was unsuccessful. (File://android_asset/www/index.html)" on the screen. This error occurs randomely on all devices.
I am just finding infos about heavy JavaScript things taking too long to trigger the timeout but that's not the case here. Anyone with a hint? Thanks in advance
I just found out: The error occurs only when using GPRS and not using WLAN. So phonegap (or something else) is trying to achieve a connection somewhere... Setting a higher timeout value does not work... Any ideas?