EDIT: I worked on this project years ago and unfortunately I cannot verify if any of the answers is working in the given scenario.
I am having hard time with one Web
Try setting a WebChrome client. The webview needs support of WebChrome Clint to work properly in some cases.
wv.setWebChromeClient(new WebChromeClient());
In onCreate
, instead of using wv.loadUrl(Constants.BLOG_URL);
, just use wv.loadDataWithBaseURL(baseUrl, readFileAsString("index.html") , mimeType, "UTF-8", null);