Android: Javascript not working in WebView

I thought I had the wrong HTML, the wrong file paths, disabled internet connection, setting a WebChromeClient and setting the HTML doc-type to be STRICT.

In the end, I was just missing a vital call to enable it.

Allow JavaScript in your WebView by calling:


How embarassing =P


Source: Using Android’s WebView, WebChromeClient and WebViewClient to load a webpage and display the progress

Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog