@Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    WL.createInstance(this);

    WL.getInstance().showSplashScreen(this);

    WL.getInstance().initializeWebFramework(getApplicationContext(), this);
  }
 /**
  * The IBM MobileFirst Platform calls this method after its initialization is complete and web
  * resources are ready to be used.
  */
 public void onInitWebFrameworkComplete(WLInitWebFrameworkResult result) {
   if (result.getStatusCode() == WLInitWebFrameworkResult.SUCCESS) {
     super.loadUrl(WL.getInstance().getMainHtmlFilePath());
   } else {
     handleWebFrameworkInitFailure(result);
   }
 }