Inside my application, I was interested to know if it is possible to make a specific URL in WebView by clicking to redirect to a new kind of activity outside of WebView?
Thank!
You can track events in WebViewusing WebViewClient. You want to shouldOverrideUrlLoading(). This allows you to perform your action when a specific URL is selected.
WebView
WebViewClient
shouldOverrideUrlLoading()
You set WebViewClientyour own WebViewusing the method setWebViewClient().
setWebViewClient()
Intent "" URL-. , :
Intent
, Activity. - URL- , . , , Activity .
Source: https://habr.com/ru/post/1727020/More articles:Google Checkout HTTP Post with ASP.net - asp.netHow to make Gtk.Frame shortcut bold? - c #Why is this script-fu not working? - lispпрокрутите до определенного текстового поля в прокрутке прокрутки или прокрутки вниз, когда клавиатура находится на экране - iphoneLinking an external CSS stylesheet to HTML - htmlSQL: are disconnect triggers disabled when a schema changes? ("Failed to complete cursor operation because table schema changed") - sql-serverAnt-Ivy- Scala Template: any suggestions for improvement? - scalaJava definitions: shortcut, token - javaПочему django содержит много "__init__.py"? - pythonHow to open a webpage in frame? - javaAll Articles