@Override
 public void onWLInitCompleted(Bundle savedInstanceState) {
   // Additional initialization code from onCreate() was moved here
   // DeviceAuthManager.getInstance().setProvisioningDelegate(<Use default ProvisioningDelegateImpl
   // class or replace with your IProvisioningDelegate implementation>);
   super.setIntegerProperty("splashscreen", R.drawable.splash);
   super.loadUrl(getWebMainFilePath());
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
 }
 /** onWLInitCompleted is called when the Worklight runtime framework initialization is complete */
 @Override
 public void onWLInitCompleted(Bundle savedInstanceState) {
   super.loadUrl(getWebMainFilePath());
   // Add custom initialization code after this line
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   // Additional initialization code was moved to onWLInitCompleted()
 }