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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -