The Web page can then be debugged directly on the browser.
Enter Address
HTTP//Your ipd:8000/android/www/.
Another way to add this is to use WebView to debug from the project load URL back on tomcat
, build a xxx.xml file under the localhost path, and xxx is the name of the project you want to access
On this xxx file
Text version
<?xml version= ' 1.0 ' encoding= ' utf-8 '? ><context docbase= "D:\CordovaApp\jqmobile\www" path= "/cordova" Workdir= "Work\catalina\localhost\cordova" ></Context>
Docbase corresponds to the value of the Www,path in your Android project/cordova is consistent with the outside of the xxx name, the same workdir \cordova name is the same.
Then direct access to the project is OK.
such as HTTP://IP address or localhost: port number/project name (consistent with Xxx.xml name)/
This way, you can modify anything under the WWW path and refresh the browser to take effect.
2014/07/18 16:26 Update
Found himself or messed up, in fact, if it is online version, such as WebView to load an online URL, then and our usual web development is exactly the same, so we just need to webroot in the usual development of the Web project under a random directory such as HTML5, Then we can use WebView to load http:xxxxxxx/project name/html5/.