AFAIK what you're trying to achieve is not possible. Any decent browser should disallow that for security reasons - it would mean that any app could trick the user into thinking that arbitrary HTML is loaded under a certain domain. This would allow an attacker to load malicious HTML under a trusted web site's domain (like the user's bank).
If you simply want to display some content you could consider loading the site as a data URL (data:text/html,
) and set the base URL in the content's headers (so that CSS, etc.. resolve correctly). That would mean that the browser will display the entire data URL in the address bar though.
It seems like you're trying to render a response from some server in the WebView - would it be possible for you to construct the URL of the original query and send that to the Browser instead?