TokenChen / WebViewDemo

A demo project for showing how to use WebViews in Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebViewDemo

A demo project for showing how to use WebViews in Android.

Things covered in this project

  • Load a local html file into a WebView with the basic WebView settings.
  • Handle Javascript callbacks from the Javascript to the client.
  • Make Javascript callbacks from the client to Javascript.
  • Set WebViewClient to the WebView
  • Debugging of WebView

                 

I wrote a blog about how this. Here is the post.

=====

Checkout my other projects

AppDataReader - A library for reading Shared Preferences and Database values within the application. RxDownloader- Demo of Downloading Songs/Images through Android Download Manager using RxJava2 RxFbLiveVideoEmoticons - Demo of Fb Live Video Reactions using RxJava2

About

A demo project for showing how to use WebViews in Android.


Languages

Language:Java 84.9%Language:HTML 15.1%