SyntaxFix
Write A Post
Hire A Developer
Questions
Passing null would be better. The full codes is like:
WebView wv = (WebView)this.findViewById(R.id.myWebView); wv.getSettings().setJavaScriptEnabled(true); wv.loadDataWithBaseURL(null, "<html>...</html>", "text/html", "utf-8", null);