Android – Load a String into WebView
To load html data from a String into a WebView, you can use the following method: yourWebView.loadDataWithBaseURL(“x-data://base”, stringToLoadInWebView, “text/html”, “UTF-8”, null); Note that the UTF-8 charset might be different for your data so change it accordingly..