<Html>
<script>
Function onLoad(){
try
{
cordova.require('cordova/channel').onDOMContentLoaded.fire();
cordova.require('cordova/channel').onNativeReady.fire();
_nativeReady = true;
}
catch(e)
{
alert("Initialize
phonegap error:" + e.message);
}
}
</script>
<body onload=”onLoad();”>
</html>