1. #1
    Sencha User
    Join Date
    Apr 2008
    Posts
    17
    Vote Rating
    1
    minorbug is on a distinguished road

      0  

    Default Unanswered: PR3 - phoneStartupScreen and icon paths

    Unanswered: PR3 - phoneStartupScreen and icon paths


    I have an app with an icon and a phoneStartupScreen defined (see code).

    My app is at url http://localhost:8080/MyApp/mobile
    My index.html is at http://localhost:8080/MyApp/mobile/index.html
    My app.js is at /js/mobile/app.js
    The images are in /images

    What path do I need to use (or where should I place the images) for them to appear for my web app? I've tried:

    icon.png
    images/icon.png
    ../images/icon.png
    ../../images/icon.png

    And none of them show the icon when I try to add my web app to my iphones home screen.

    Code:
    Ext.Loader.setConfig({
        enabled: true,
        paths:{
            'MyApp':'./js/mobile/app'
        }
    });
    
    var App = Ext.application({
        name: 'MyApp',
        controllers: ['Main','Map'],
        
        phoneStartupScreen: '../images/phone_startup.png',
        icon: '../images/icon.png',
        glossOnIcon:false,
        
        launch: function() {
            this.appContext = appContext,
            Ext.create('MyApp.view.Viewport');
        }
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3356
    Vote Rating
    751
    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


    Do you have the app saved to the homescreen? Are they the correct size? Is your phone/tablet in portrait mode (not sure if landscape is working in iOS 5?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    I'm not sure if the phoneStartupScreen and other setup methods even exist in PR3. You should try adding them manually using the meta tags for now.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  4. #4
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    61
    Answers
    3
    Vote Rating
    0
    dishwashwebdesign is on a distinguished road

      0  

    Default


    Is there any chance to use animated gifs in the right format (phone/tablet) as startup screens?
    At this stage i dont get any startupscreens when loading my app

  5. #5
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3356
    Vote Rating
    751
    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


    Pretty sure you have to use png.

    https://gist.github.com/472519
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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.

  6. #6
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    61
    Answers
    3
    Vote Rating
    0
    dishwashwebdesign is on a distinguished road

      0  

    Default


    cool, thanks.
    it also seems like an ipod touch isnt able to display startup pngs either...

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar