I'm setting WebView
's content as;
String displayBodyText = "<a href="scheme:/user_abd/data?q=from%3A%22ammar%40mydomain.com%22#title=%40Ammar%20">Ammar</a>"
webView.loadData(displayBodyText , "text/html", "utf-8");
And set the WebViewClient
as;
linkDetailWebView.setWebViewClient(new WebViewClient() {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
Log.d("TAG", url);
return true;
}
});
When clicked on the link in data, I'm getting scheme:/user_abd/data?q=from:
instead of scheme:/user_abd/data?q=from%3A%22ammar%40mydomain.com%22#title=%40Ammar%20
.
I'n unable to get this behavior of WebView
.