How to create Simple android browser app using Webview
Webview is system component powered by Chrome that allows to Display web content on
Android apps.
In this article, we are going to learn the basic usage of WebView starting from displaying a web page to building a simple in-app browser that provides navigation and bookmark support and more...
Basic usage of Android web view :
Step: 1
Include the webview element in XML layout file
<WebView android:id="@+id/webview" android:layout_width="match_parent" android:layout_height="match_parent"></WebView>
Step: 2
You need to Load webview from Activity.
webView = (WebView) findViewById(R.id.webview);
webView.loadUrl("https://mallemmahesh.blogspot.in/");
No comments