I want to use splash screen in my application when running the app but when I launch the app in android device first shows me the blank activity at 0.5 second then shows up the splash screen this is my code I'm using.
public class MyActivity extends DroidGap {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.setIntegerProperty("splashscreen", R.drawable.splash);
super.loadUrl("file:///android_asset/www/index.html", 3000);
}
}