WebViews are containers that allow you to display web pages as part of your application. You can find more information about building web apps in webview here
Here are the steps involved in this demo:
- Add a
WebViewto the UI in the activity layout - In the
onCreateinitialize the WebView - Add a
Toolbarto the UI in the activity layout - In the
onCreateinitialize the Toolbar - Add the javascript interface
- Hook up the javascript interface with the name "Android"
- Add javascript to your web application