0

I can load google search results in a webview by making a request to the url http://www.google.com/search?q=searchterm and loading the result on the webview using

wb.loadDataWithBaseURL(null, responseString,"text/html", "utf-8", null);

But this loads the PC-browser version of search results..I want the mobile version...thanks

4

1 回答 1

0

尝试更改用户代理:

wb.getSettings().setUserAgentString("Android");
于 2013-05-02T15:12:39.007 回答