I would like to know that cordova Visual Studio plugin to develop Hybrid mobile App only supports the local HTML web application?
or is there any other Cordova Visual Studio plugin available to develop hybrid application using ASP.NET MVC applications?
(http://www.microsoft.com/en-us/download/details.aspx?id=42675)
Cordova provides Local HTML templates for Hybrid-mobile application development. If we add http://www.google.com in config.xml file, then it will generate URL something like "file:///android-asset/http://www.google.com
" for android. so we will get network error.
Solution:
If we want to load http://www.google.com with Cordova template, load URL like below,
<script type="text/javascript">
//Update with your remote URL
this.document.location.href = "http://www.google.com"
</script>
EDIT 1: This issue has been resolved with MDHA CTP 2.0. We can give our Remote URL in the Config.xml page by editing Startup page