Hi,
Is there a way to be sure that the detection was done right?
I thought, one way would be to compare the "_matched" property with the string that is left to the first "/", but DevAtlas seems to return sometimes less than that, even if mathed uniquely:
Nokia5200/2.0 (03.70) Profile/MIDP-2.0 Configuration/CLDC-1.1
_matched=Nokia520
Some misleading cases:
Wrong:
Alcatel-ELLE-N1/1.0 UP.Browser/7.1 (GUI) MMP/2.0
_matched=Alcatel-E
Alcatel-ELLE-N3/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 ObigoInternetBrowser/Q03C
_matched=Alcatel-E
Right: (only the "A" was not matched)
Alcatel-OT-C700A/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 ObigoInternetBrowser/Q03C
_matched=Alcatel-OT-C700
Also, DevAtlas seems to have problems with these user_agents:
Mozilla/4.0 (compatible; MSIE 6.0; Linux; Motorola MOTOROKR Z6; 3348) MOT-MOTOROKR Z6/R60_G_80.33.4ER Profile/MIDP-2.0 Configuration/CLDC-1.1 Opera 8.50 [en]
_matched=Mozilla/4.0 (compatible; MSIE 6.0; Linux;
(its detecting the browser, not a MOTOROKR Z6)
So, is there a "sure" way to say that a detection was done right?
Thanks!