Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: Killing white screen after splash screen load

  1. #31
    Sencha User
    Join Date
    Jan 2012
    Posts
    1

    Default not able to get rid of white screen

    I tried the script here: http://shazronatadobe.wordpress.com/...creen-control/. But when I put it in my project code, I get a blank screen between splash screen hide & map display. Below is the code I have, please suggest how to eliminate the blank screen
    setTimeout(function(){

    navigator.splashscreen.hide();
    Ext.dispatch({
    controller: HC.controllers.hcController,
    action: showMap
    });
    console.log(after dispatch);
    }, 2000);
    I changed t he delay to 7seconds, still there is intermediate blank screen. Anybody came across similar issue and got it fixed?
    Please advice.

  2. #32
    Sencha User
    Join Date
    May 2013
    Posts
    31

    Default

    Hello, did somebody find a safe/ best practice way to avoid the white screen?? its 2013, and we are still having the same issue...

    thanks!

  3. #33
    Sencha User
    Join Date
    Jun 2011
    Location
    Switzerland
    Posts
    16

    Default

    Quote Originally Posted by tavojavi View Post
    Hello, did somebody find a safe/ best practice way to avoid the white screen?? its 2013, and we are still having the same issue...

    thanks!
    Hi tavojavi

    Yes, in the meanwhile quite some things changed. You now have a Phonegap/Cordova built-in plugin to controll the splash screen. See http://docs.phonegap.com/en/2.2.0/co...screen.md.html

    So you can show the splash screen as long until your application is fully loaded and hide it afterwards with:
    Code:
    navigator.splashscreen.hide();
    Hope this helps!

    Best,
    Chrigu

  4. #34
    Sencha User
    Join Date
    May 2013
    Posts
    31

    Default

    Amazing!!

    Thanks chrigu

    Quote Originally Posted by chrigu View Post
    Hi tavojavi

    Yes, in the meanwhile quite some things changed. You now have a Phonegap/Cordova built-in plugin to controll the splash screen. See http://docs.phonegap.com/en/2.2.0/co...screen.md.html

    So you can show the splash screen as long until your application is fully loaded and hide it afterwards with:
    Code:
    navigator.splashscreen.hide();
    Hope this helps!

    Best,
    Chrigu

  5. #35
    Sencha User
    Join Date
    Jun 2011
    Location
    Switzerland
    Posts
    16

    Default

    Quote Originally Posted by tavojavi View Post
    Amazing!!

    Thanks chrigu
    you're welcome

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Setting Value into combobox on screen load
    By salih in forum Community Discussion
    Replies: 5
    Last Post: 7 Sep 2010, 9:12 PM
  2. SENCHA-0.90 Examples with Splash Screen?
    By fuzelogic in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 19 Jun 2010, 11:32 PM
  3. Need help displaying a "splash screen" in an empty TabPanel
    By robot1125 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 21 Mar 2010, 3:34 AM
  4. how to display a combo box within a grid on load of a screen
    By uma in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 23 Feb 2008, 7:11 AM
  5. Combo Box Slowing down screen load
    By nrajesh in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 6 Nov 2007, 10:14 AM

Posting Permissions

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