I am creating a simple android app which has a webview which should display a url. When I give the url as google.com or facebook.com it loads properly but when I give my url
you need to do
WebSettings settings = webView.getSettings(); settings.setDomStorageEnabled(true);
see details ERROR/Web Console: Uncaught TypeError: Cannot call method 'getItem' of null at http://m.youtube.com/:844