How to change startup file index.html to other html file in phonegap. I change the content src="login.html" in config.xml file but it won't work. It always load the index.html file. please help. Thanx in advanced.
config.xml
<content src="login.html" />
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="14" />
<access origin="" />
<allow-intent href="http://*/" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
Not sure why you want to start to another page than index.html (wouldn't it be easier to rename your login.html to index.html?)
Anyway, what you could do is have a minimal index.html file that redirects to login.html by adding a script tag like this :
That's something I use in my apps because cordova may refuse to start the app if index.html takes too long to start.