Note: The code is from this link: http://stackoverflow.com/questions/8222054/does-android-webview-support-html5 .