Problem detecting HTC Radar C110e

I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
rikitikitik
Posts: 6
Joined: Wed Mar 07, 2012 10:07 pm

Problem detecting HTC Radar C110e

Postby rikitikitik » Wed Mar 07, 2012 10:20 pm

I am currently using WURFL version 2.3.

I checked Tera-WURFL and the zipped XML itself and the useragent for HTC radar is
"Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; HTC; Radar C110e; 1.06.164.01)"

However, using an actual HTC Radar, the useragent (via http://www.whatismyuseragent.com) is
"Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; HTC; Radar C110e)"

Is WURFL checking for an exact useragent match? I just debugged my web app and used the actual useragent on the User Agent Switcher plugin of Firefox and it doesn't detect it indeed. The Tera-WURFL useragent worked fine, as expected.

Is there a work-around for this? I'm practically a newbie when it comes to mobile detection, but won't the user-agent change every update of the OS/Browser? Would that mean that un-updated mobile browser versions will become undetectable by WURFL?

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Problem detecting HTC Radar C110e

Postby kamermans » Wed Mar 07, 2012 10:40 pm

Hi, thanks for the questions.

The WURFL API does indeed detect this device properly (http://bit.ly/A61iNp) with a relatively recent copy of the WURFL device database. The API tries an exact match first, but if it is not found, it uses one or more of about 50 user agent matchers, each specifically tailored for a category of devices. The matchers use several methods like keyword matching, reduction in string, levenstein distance and normalization to find an accurately matching device.

All this having been said, your best bet is to grab a copy of the WURFL Database from wurfl.sourceforge.net and put it in your data/ directory, then run an update from the web administration interface.

Please note that the AGPL license included with the API may not be compatible with your usage.

Another option for you, if you would rather avoid the licensing issue and database maintenance is to sign up for WURFL Cloud - a hosted device detection solution with plans starting at $0 :) - http://www.scientiamobile.com/cloud

Edit: As of 7/25/2016 ScientiaMobile no longer uses AGPL or any other Open Source licensing. Please refer to http://www.scientiamobile.com/page/get- ... elease-1-8 for more information or contact sales
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!


Who is online

Users browsing this forum: No registered users and 15 guests