private void initWebView() calls the
super.loadUrlWithData(sBaseURL, abData) Cordova method, which
no longer exists in cordova-2.9.0. Change this method to call the
super.loadUrl(sBaseURL) method instead.
Open the
UiHybridAppContainer.java class and navigate to the
private void initWebView() method and make this
change:.
// PhoneGap Change: We must call through PhoneGap to load the URL
if ( USE_PHONEGAP )
{
// PhoneGap may timeout loading the web page
super.setIntegerProperty( "loadUrlTimeoutValue", 300000 );
// PhoneGap will load the URL
super.loadUrl(sBaseURL );
}
else
{
m_oWebView.loadDataWithBaseURL( sBaseURL, new String( abData ), null, "utf-8", null );
}