The introduction of Android (UI) WebView

Android WebView (Source Google Images)

WebView is a view that displays web pages in your application.

You can also specify a string of HTML and can display it in your application using WebView.

webview syntax examples in class java application.

WebView mbrowser = (WebView) findViewById(;

WebView transform your application into a web application.

To load the web url to WebView, you need to call

loadUrl (String url)   of the WebView class, specify the url required. The syntax is:


Sometimes you may need to add some javascript in your browser. You need to enable javascriptMode the Code.

Source: Master Android (App)

Post Author: Study