Hi, being new to this I try to figure out how this browser file works.
I have installed it and it works but I do not get the matches and values I expect.
The testing is done with Firefox and User Agent Switcher.
Some of the user agent I have tested is:
HTC_TyTN_II Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.6)
HTC_Touch_Diamond2_T5353 Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 8.12; MSIEMobile 6.0)
X1i Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)
For the most part they only get matches on the Browser (or actually the capability "browser") with value "Pocket IE".
At that point the Request.Browser.ScreenPixelsWidth is 240 no matter which device it is.
I am guessing this is a default value set in the gateway with id="deviceShim_seq_1"?
When I looked closer at this I focused on the sonyericsson Xperia.
Just checking out the mobile.browser file there are browser tags that matches on "^X1i$"
<capability name="_support_mobileDeviceModel" match="^X1i$" />
The values I get when writing out the capability "_support_browserIdentity" is the whole useragent for the mobile, not just "X1i".
I really need the screen width values to be accurate, don't know what is wrong here or if I am missing something.
Grateful for any suggestions on how to solve this problem.