WebView URL laden
// Private variable
private WebView web;
// Locating the webView ID form (For example activity_main)
myWebView = findViewById(R.id.myWebView);
// Loading the URL (google.com) into the webview
web.loadUrl("https://google.com");
// Private variable
private WebView web;
// Locating the webView ID form (For example activity_main)
myWebView = findViewById(R.id.myWebView);
// Loading the URL (google.com) into the webview
web.loadUrl("https://google.com");
webView.loadUrl("https://google.com");