I have a webview, which displays mobile version of site. I've made "switch", which allows user to switch to full version of site, if he wants. So at first user goes to site's mobile version and after that he may toggle "switch" and site's full version is loaded.
What's happening now: For some sites just changing user-agent is enough and they are loaded as from PC, when "switch" is toggled. But some sites are still able to detect, that I've entered from mobile device and still show me mobile version.
How can I tell ALL sites, that "I" am not mobile device, but a PC? Something like:
webView.getSettings().iAmPC(true);
P.S: For example: Opera mobile for Android (and Firefox) have this functionality (if I choose "Desktop" in preferences, EVERY site gives me it's full version). Android default browser 2.3.6 - not.
P.P.S: It will be also useful, if you know how to achieve it even not in webview.
Update: It seems that X-WAP-Profile header should be changed, but still haven't found a solution. There is a kind of solution mentioned here but it seems to be unusable in-app.
P.P.P.S: My app has root access, so, solutions, which require root access are also accepted
Tried shouldOverrideUrlLoading with random or empty Accept
header - no effect.