How can i show activityindicator in load screen before load tabgroup in app.js?
I put in tiapp.xml
But don't work
Someone can help me? Thanks
I think this is not supported and will need to be a new feature of titanium.
Yeah, unfortunately @Masood is right, there is currently no way to show an indicator on the loading screen.
There was in pre-GA builds of the mobile SDK then for some reason it was removed. Hopefully it will be added again, I'd love to have the option to display it.
You could use a temporary window/view with an imageview that uses the same image as the splash screen and an activityIndicator.
After your app is fully loaded you can hide/remove this window/view.
@Tamas true, but wouldn't that show up after the initial loading screen had closed? Depending on how large one's app is, it could potentially be several seconds before the second image is seen if the user is on a pre-3GS iPhone.
Yes it takes several seconds before splash screen goes away on device. I did some user testing and some do become restless looking at the splash screen and start tapping in the hope that it will do something. For now I added small text on the splash image that says "Loading…". Hopefully it will keep app users to be patient ;)
But if he loads first the tempWin, then on the "open" event of this window makes all the stuff that create and loads the app ?
Would this work ?
@Tamas Hmmmm…possibly. Haven't tried it that way but worth a shot.