Results 1 to 3 of 3

Thread: Newby Question

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
      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
    39,326
    Answers
    3884
    Vote Rating
    1297
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    Answers
    1
    Vote Rating
    0
      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....

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •