android - Why phonegap application always shows own default page after override index.html -
hi have made hello world type of application in phonegap. have index.html in www
directory displaying default home page of phonegap. please see attached screenshot displaying always.
index.html
<html> <head> <meta charset="utf-8" /> <meta name="format-detection" content="telephone=no" /> <meta name="msapplication-tap-highlight" content="no" /> <!-- warning: ios 7, remove width=device-width , height=device-height attributes. see https://issues.apache.org/jira/browse/cb-4323 --> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> <link rel="stylesheet" type="text/css" href="css/index.css" /> <title>hello world</title> </head> <body> <script type="text/javascript" src="cordova.js"></script> <script type="text/javascript" src="js/index.js"></script> <script type="text/javascript"> app.initialize(); </script> <form> select favourite color: <input type="color" name="favcolor"> <br/> <input type="button" value="submit" /> </form> </body> </html>
but when run app in android phone display this. have done 3-4 rebuild complete project still same.
i not sure going wrong or missing.
thanks in advance.
i think making changes www folder present inside platforms added. try make changes in www folder present in root folder of project , take build , work. check this:
Comments
Post a Comment