Back to project page android-webview-example.
The source code is released under:
Apache License
If you think the Android project android-webview-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.significantfiles.mrcounter; // w ww . j av a 2s . c o m import android.util.Log; import android.webkit.WebView; import static com.significantfiles.mrcounter.Constants.*; public class WebViewClient extends android.webkit.WebViewClient { @Override public boolean shouldOverrideUrlLoading(final WebView view, final String url) { Log.d(LOG_TAG, "Loading url [= " + url + "]"); view.loadUrl(url); return true; } }