GitHunt
JA

james-woo/WebViewDemo

WebViewDemo

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:

  1. Add a WebView to the UI in the activity layout
  2. In the onCreate initialize the WebView
  3. Add a Toolbar to the UI in the activity layout
  4. In the onCreate initialize the Toolbar
  5. Add the javascript interface
  6. Hook up the javascript interface with the name "Android"
  7. Add javascript to your web application

Contributors

Created December 14, 2017
Updated December 14, 2017