I want to create an android app that will load an url in webview and it must be desktop view format. I have tried it but not working.String userAgentCustom= "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/20100101 Firefox/4.0"; webView.getSettings().setUserAgentString(userAgentCustom);
Asked
Active
Viewed 63 times
0

Alok Sarkar
- 27
- 1
- 5
-
use this one https://stackoverflow.com/a/32600501/5773037 – Nikunj Paradva Apr 24 '18 at 04:10
-
I have already tried it but not working. – Alok Sarkar Apr 24 '18 at 04:12
-
show your code snippet – Nikunj Paradva Apr 24 '18 at 04:12