Adding a Splash Screen

Add a splash screen to the Hybrid Web Container.

This procedure shows an example of a splash screen, which is the first screen that you see in the Hybrid Web Container. The related comment tag is ANDROID_CUSTOMIZATION_POINT_SPLASHSCREEN.

  1. Open the SplashScreenActivity.java file, which is located in the ...\HybridWebContainer\src\com\sybase\hwc folder.
  2. Edit SplashScreenActivity.java.
    1. You must call finish() on the splash screen as soon as you are finished displaying the screen.
      Currently this is done in the onStart method, so you must remove it from there.
    2. Create an intent that launches the EnterPasswordActivity after finish() is called. You must do this even if you disable the PIN screen.
      It is important that finish() is called first. Currently this is done in the onStop method.