1

I am using sencha touch 1.1, and the application has to be portable across multiple mobile platforms such as android, iPhone, iPad and blackberry. I need to have splash screen at start up, and I am using the body background property to get the splash screen done.

<body bgcolor="0000" style="background-image: url('images/background.png');"></body>

I used this code in my app:

onReady: function() {
        var panel = new Ext.Panel({
            fullscreen : true,
            html : "Start Up Screen Test"
        });
    } 

But it doesn't work. Please help me do this for devices with multiple resolutions and in a generic way.

Yisela
  • 6,909
  • 5
  • 28
  • 51
Nilanchala
  • 5,891
  • 8
  • 42
  • 72

2 Answers2

1

You have to give the spash screen for phone/tablet this way:

Ext.regApplication('App', {

    icon: 'public/resources/images/Icon.png',

    tabletStartupScreen: 'public/resources/images/tabletImage.png',

    phoneStartupScreen: 'public/resources/images/phoneImage.png',

    glossOnIcon: true,

    fullscreen: true,

    launch: function() {
    }
});
Swar
  • 5,473
  • 3
  • 31
  • 43
1

This will help you to get through to your answers. Different image with resolutions for different size screens of blackberry. http://www.sencha.com/learn/how-to-use-src-sencha-io/

Blakdronzer
  • 300
  • 3
  • 13