Slide 33
Slide 33 text
#SJEHF"DUJWJUZMPBET#SJEHF$MBTT
protected void load(Bundle savedInstanceState) {
Log.d(LogUtils.getCoreTag(), "Starting BridgeActivity");
webView = findViewById(R.id.webview);
…
pluginManager = mockWebView.getPluginManager();
cordovaInterface.onCordovaInit(pluginManager);
bridge = new Bridge(this, webView, initialPlugins, cordovaInterface, pluginManager,
preferences);
Splash.showOnLaunch(this);
if (savedInstanceState != null) {
bridge.restoreInstanceState(savedInstanceState);
}
this.keepRunning = preferences.getBoolean("KeepRunning", true);
this.onNewIntent(getIntent());
}
MainActivity.java