Can we set UserAgent for any mobile browser like Mozilla, Crome, UC Browser etc.

I have gone through WebView.getSettings().setUserAgentString(newUA);

But It is for webview, My issue is I need to set UserAgent to all installed browsers, Not webview.

没有正确的解决方案

其他提示

That sounds like it would violate a lot of Android's sandboxing principles, so I'm going to have to go with not possible (unless the device is rooted perhaps). Chrome for Android already has this as a feature anyway.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top