To add a splash screen to your android app in phonegap, you need to make sure of few things.
- You are using 0.9.3 or higher version of phonegap.
to DefaultActivity.Java (which is your main java file) in the onCreate method just before the
- Make sure splash is the name of your file like splash.jpg or splash.png in the appropriate place in the “res” directory.
Deploy your code again and see your splash screen just before the app starts.