Month: September 2012

  1. Home
  2. chevron_right
  3. 2012
  4. chevron_right
  5. September

Android – Load a String into WebView

Snippets, Solutions
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…