codenameone - Codename One - BrowserComponent: custom user-agent -


i've read browsercomponent api, didn't find setuseragent() method. how can force browsercomponent use custom user-agent string?

thank help.

it's not documented since isn't supported everywhere should work fine on android , ios. should work:

browsercomponent.setproperty("useragent", youruseragenthere); 

Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -