I am using PhoneGap to build an Android application, the application is a combination of phonegap + jquery mobile.
The application successfully launches in the emulator
I have solved this by adding
super.setIntegerProperty("loadUrlTimeoutValue", 10000);
to the com.mypackage.xxx.java file for 10 sec waiting time.ie,
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/home/index.html");
super.setIntegerProperty("loadUrlTimeoutValue", 10000);