-
21 Dec 2011 1:34 PM #1
Unanswered: Newby Question
Unanswered: Newby Question
Am looking at some older v1.x documentation that mentions startup screens and icons using Ext.setup.
Essentially my app.js files looks as follows:
However none of the images show up - either when adding my app to the homescreen or when the app starts. I can also not find these particular settings anywhere in the API....what am I missing?Code:Ext.setup({ tabletStartupScreen: '/resources/images/tablet_startup.png', icon: 'resources/images/icon.png', glossOnIcon: true, onReady : function() { Ext.Msg.alert('Hello!','Hello there from Sencha Touch!',Ext.emptyFn); } });
-
21 Dec 2011 2:35 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
- Answers
- 3113
Looking at the source, setup() still has those configs that write the <meta> tags. I didn't think adding <meta> tags after the page has ben loaded has any affect... I know Rob was mentioning something but I can't remember what it was.
To answer your question, yes, for the images like we had in ST1 are still valid for ST2... just must not be something fully implemented in PR stage.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
21 Dec 2011 9:48 PM #3
I think you can use tags like this in your index html5 page.
<link rel="apple-touch-startup-image" media="(orientation: portrait)"href="portrait.png" />
<link rel="apple-touch-startup-image" media="(orientation: landscape)"href="landscape.png" />
***NOTE: images are size specific....


Reply With Quote