Arshad Mehmood

Search the blog

    Today I Learned

    Load data in webView second time

    android

    If you use, webview.loadData() it doesn’t work in the subsequent calls. Instead use WebView.loadDataWithBaseURL() like this:

    WebView.loadDataWithBaseURL(null, data.toString(), "text/html","UTF-8", null);