1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
    mikeamiller is on a distinguished road

      0  

    Default 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:

    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);
    	}
    });
    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?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,412
    Vote Rating
    1103
    Answers
    3682
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default

    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 Software Engineer
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    29
    Vote Rating
    0
    Answers
    1
    arunc is on a distinguished road

      0  

    Default

    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....

Thread Participants: 2

Tags for this Thread