简体   繁体   中英

Startup screen for Android app using jQuery Mobile

I'm building an Android app using jQuery mobile and PhoneGap. How can I show an image as a startup screen for the app, just for a few seconds, before the login screen appears?

This might also be useful: If you scroll down to where it says "Splash Screens" (Kind of far down into the page) you'll see how to set up a splash screen for your app with config.xml in PhoneGap:

https://build.phonegap.com/docs/config-xml

If you want to do this while the application starts-up then you have to look for help regarding android native applications and use the solution in your phonegap project so that the phonegap application has the splashscreen. Then after you build it - you should have a splashscreen.

If all you want is a splash screen for the time after the phonegap application starts and before the phonegap api is ready (it fires the event) then you have to put the splashscreen in HTML and hide it in your event handler. [but I bet it's not what you wanted]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM