title: Adding notification on webview
body: <p>I want to know how to add notification to this,or if I want to trigger a certain word to pop up as a notification that would be greatly appreciated</p>
  
  <pre><code> public class NewActivity extends AppCompatActivity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_new);
      String url = "https://www.example.com";
      WebView web = (WebView) findViewById(R.id.webView4);
      web.loadUrl(url);
  
      final WebView mWebView = (WebView) findViewById(R.id.webView4);
      mWebView.getSettings().setJavaScriptEnabled(true);
      mWebView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
      mWebView.getSettings().setSavePassword(true);
      mWebView.getSettings().setSupportZoom(true);
      mWebView.getSettings().setSaveFormData(true);
      mWebView.getSettings().setSupportZoom(false);
      mWebView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
      mWebView.getSettings().setDomStorageEnabled(true);
      mWebView.getSettings().setSupportMultipleWindows(false);
      mWebView.getSettings().setLightTouchEnabled(true);
      mWebView.getSettings().setBuiltInZoomControls(true);
      mWebView.getSettings().setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL);
      mWebView.setWebViewClient(new WebViewClient() {
  
          public boolean shouldOverrideUrlLoading (WebView view, String url){
  
              return true;
          }
      });
      mWebView.loadUrl("https://www.example.com");
  
  }
  </code></pre>
  
  <p>}</p>