Is there some kind of native loading screen for each os available in phonegap?
I know there is a javascript loading screen when phonegap is loaded but before that, when you start your application, it can be really slow…
For example, in android, I could imagine an asynctask showing a load screen or displaying some interesting data until all the js libs are loaded.
Anyone has seen something like this?
Thanks
Native loading screen aka “splash screen”:
build.phonegap.com supports this (as mentioned in the answer from iliha139) during the build process. But what if you want a splash screen without using the build service?
You have to solve it platform specifically:
Without code, see iOS programming guide
Code needed, was mentioned on StackOverflow, see https://stackoverflow.com/a/8157103/734687 or http://blog.assortedgarbage.com/2011/02/adding-a-splash-screen-for-android-using-phonegap/
Without code, see: http://windowsphonegeek.com/articles/All-about-Splash-Screens-in-WP7-ndash-Creating-animated-Splash-Screen
iOS and WP7 supports native splash screen (displayed by the OS), while in Android the DroidGap class is displaying the splash screen. Therefore you still see an empty activity on Android when the application starts until the DroidGap activity becomes active.