come one, somebody has to have released a tidy android app haha
Driving myself a little crazy trying to figure this out.
This is roughly what I've tried so far. Every test has brought up the same issue on android. Black screen > splash screen > black screen > game. I'm looking for splash screen > game. Or at least Black screen > splash screen > game. Managed it on iOS really easy, just no luck in the intel XDK > android crosswalk.
1. Added splash screens to the project in www>Splash Screens and named them after their sizes
2. in intel > project settings I added the splash screens,
3. Added the SplashScreen plugin in settings (standard cordova plugins)
4. Adding "<preference name="SplashScreen" value="foo" />
<preference name="SplashScreenDelay" value="10000" />
<preference name="SplashMaintainAspectRatio" value="true|false" />" to the bottom of config .xml
5. added "<preference name="AutoHideSplashScreen" value="false" /> to config"
6. added "document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
setTimeout(function() {
navigator.splashscreen.hide();
}, 2000);
}" to index.html.
7. changing the previous code to "document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
setTimeout(function() {
navigator.splashscreen.show();
}, 0);
}" This actually made it work properly in the emulator but not on the phone.