This is a migrated thread and some comments may be shown as answers.

How to specify Starting page of app?

5 Answers 255 Views
AppBuilder in-browser client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Atik
Top achievements
Rank 1
Atik asked on 09 Jul 2013, 03:26 PM
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?

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 Jul 2013, 03:30 PM
Hello Atik,

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.
<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
Steve
Telerik team
answered on 10 Jul 2013, 07:42 AM
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.
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.
0
Iva Koevska
Telerik team
answered on 30 Jan 2014, 08:56 AM
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

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
AppBuilder in-browser client
Asked by
Atik
Top achievements
Rank 1
Answers by
Steve
Telerik team
Atik
Top achievements
Rank 1
Carlos
Top achievements
Rank 1
Iva Koevska
Telerik team
Share this question
or