This question is locked. New answers and comments are not allowed.
Hello All,
I am new to this Icenium mist. I have started to develop app with kendo ui mobile. In case of android phonegap, there is provision of specifying starting page inside MainActivity class when we are developing it using ecllipse.
So is there same provision inside icenium?
I have created new html page with name suppose "MainPage.html" and want to set it as starting page of project.
How can I do this?
I am new to this Icenium mist. I have started to develop app with kendo ui mobile. In case of android phonegap, there is provision of specifying starting page inside MainActivity class when we are developing it using ecllipse.
So is there same provision inside icenium?
I have created new html page with name suppose "MainPage.html" and want to set it as starting page of project.
How can I do this?
5 Answers, 1 is accepted
0
Hello Atik,
P.S. Currently there is a bug in Cordova that would not respect this setting on Android devices. We've already logged this for investigation and would see if we could patch this on our end.
Regards,
Steve
Telerik
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
Yes, you can specify the default page by overriding the <content>
tag in the respective config.xml
(one for iOS and one for Android):
<content src="MainPage.html" />
For more information, see Edit Configuration Files. Be aware that you cannot test your configuration changes in the device simulator or Icenium Ion, you would have to run your app on a device.P.S. Currently there is a bug in Cordova that would not respect this setting on Android devices. We've already logged this for investigation and would see if we could patch this on our end.
Regards,
Steve
Telerik
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
0
Atik
Top achievements
Rank 1
answered on 09 Jul 2013, 03:40 PM
Hey Steve,
Thanks for the early reply.
So what could be the problem?
Thanks for the early reply.
<content src="MainPage.html" />
I have done the above change in config.xml file as suggested by you , but when I run the project on android phone simulator of Icenium Mist , it is opening index.html page.So what could be the problem?
0
Hello Atik,
Changes to the config.xml file would not be respected in the Icenium simulator and as also mentioned in my previous post, this functionality currently does not work on Android devices. Until it is addressed, you would have to make an internal redirect to your desired page from index.html, just add the following meta to the <head> tag of index.html:
<meta http-equiv="refresh" content="0; url=MainPage.html">
Regards,
Steve
Telerik
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
Changes to the config.xml file would not be respected in the Icenium simulator and as also mentioned in my previous post, this functionality currently does not work on Android devices. Until it is addressed, you would have to make an internal redirect to your desired page from index.html, just add the following meta to the <head> tag of index.html:
<meta http-equiv="refresh" content="0; url=MainPage.html">
Regards,
Steve
Telerik
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
0
Carlos
Top achievements
Rank 1
answered on 28 Jan 2014, 05:34 PM
Hello.
I was going crazy wondering why my changes weren't being applied until I found this post. Please consider updating the simulator to load the config.xml file properties for content. Thank you.
I was going crazy wondering why my changes weren't being applied until I found this post. Please consider updating the simulator to load the config.xml file properties for content. Thank you.
0
Hello Carlos,
This is indeed a good idea. Would you mind posting it is a feature suggestion in our feedback portal, so other users can vote for it and the team can evaluate it's added value for the product based on customer feedback.
Thanks!
Regards,
Iva Koevska
Telerik
This is indeed a good idea. Would you mind posting it is a feature suggestion in our feedback portal, so other users can vote for it and the team can evaluate it's added value for the product based on customer feedback.
Thanks!
Regards,
Iva Koevska
Telerik
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.