Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Third time posting this, Appcelerator please respond: Activity indicator on splash screen?

Sorry for posting this question yet again, really hoping for a response from Appcelerator. Previously posted question here and here.

Back in mobile SDK 0.8.x I think it was, there was an activity indicator that would appear over the splash screen while an app loads. Is it possible to enable that in the 1.x SDK? Or to use an animated GIF? Would really like to have that as an option in my apps.

— asked April 12th 2010 by Dan Giulvezan
  • activity
  • indicator
  • iphone
  • mobile
  • spinner
  • splash
  • waiting
0 Comments

5 Answers

  • Accepted Answer

    there's not a built-in way to do that since you control when the splash screen goes away (i.e., when you open a tab group or a window). in 0.8, we controlled when the splash screen went away.

    the best option I can think of is to have a secondary splash screen that is actually a window (and could use the same splash screen image as its background image). you could open this window immediately (first line of app.js) and display a native activity indicator in the center. once you are ready to load your app you could close that window.

    just a thought

    — answered April 13th 2010 by Nolan Wright
    permalink
    0 Comments
  • I've found it effective to put a setTimeout on the function that opens your first window. Time it out to like 4000, and your splash screen will linger wonderfully.

    — answered August 2nd 2012 by Kelly Nicholes
    permalink
    0 Comments
  • I'm quite sure there is an activity indicator on the splash screen (1.x SDK)
    It's default so you should see it when you create a fresh app.

    — answered April 12th 2010 by Sam Shupac
    permalink
    0 Comments
  • Hi Sam,

    I just tried creating a new project using Developer 1.2.1, mobile SDK 1.2.0 and iPhone SDK 3.1, and unfortunately I don't see an activity indicator on the splash screen.

    — answered April 12th 2010 by Dan Giulvezan
    permalink
    0 Comments
  • Thanks Nolan!

    — answered April 13th 2010 by Dan Giulvezan
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.