Android WebView
WebView:
A WebView in Android is best defined as a component that helps you to work with web facilities within an application interface. It includes the ability to implement a web browser into your application and display Web pages or to obtain Web content.
This component is particularly useful if your application needs to incorporate web-style capabilities or to display external WWW content within the application without the necessity to start a second full-fledged browser application.
Example:
// AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET"/>
// activity_web_view_example.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".WebViewExample"
android:orientation="vertical">
<WebView
android:id="@+id/web_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</LinearLayout>
Output