android - I don't want my application to open mobile website -


the issue having is, when open required website app has got webview in it, website redirects mobile-site. don't want happen.

i want view website seems pc/laptop. can understand website prepared redirect, want restrict doing app. can browse website in pc using mobile.

webview.getsettings().setuseragent(1); 

try this. mobile browsers have setting can set save default choice. don't.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -