show/hide a splash screen and close an app in phonegap for Android.