Problem identifying HTC Magic

I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
gounthar
Posts: 12
Joined: Tue Jul 05, 2011 9:05 am

Problem identifying HTC Magic

Postby gounthar » Mon Aug 29, 2011 4:07 am

Hi,

I am using wurfl java 1.3.1.1 with the wurfl file "wurfl.xml:db.scientiamobile.com - 2011-07-13 10:24:37; devices: 14862 root devices: 6990; families: 100".
I have problems with identifying different versions of the HTC Magic.
"Mozilla/5.0 (Linux; U; Android 1.5; en-ie; HTC Magic Build/CUPCAKE) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1" gives me magic_ver1_cupcake_it instead of magic_ver1_cupcake_ie.

"Mozilla/5.0 (Linux; U; Android 1.5; it-; HTC Magic Build/CUPCAKE) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1" gives me magic_ver1_cupcake_it, which is the good answer.

Can someone tell me if this is a normal behaviour, or if I missed something?

Thanks.

sm_support2
Posts: 294
Joined: Mon Jun 20, 2011 5:04 pm

Re: Problem identifying HTC Magic

Postby sm_support2 » Mon Aug 29, 2011 6:08 am

Hi, the WURFL APIs will basically remove the language substrings through a normalization process. The reason for this is obvious: the alternative would be to have hundreds of UAs in WURFL which mean basically nothing.

The problem here is that someone also contributed an 'irish' UA, which doesn't change anything except creating some confusion.

We are planning to address this in future versions of API and data by removing useless entries and by demanding that WURFL data is only used with one of the official APIs.

Thank you

gounthar
Posts: 12
Joined: Tue Jul 05, 2011 9:05 am

Re: Problem identifying HTC Magic

Postby gounthar » Mon Aug 29, 2011 7:13 am

Hi,

thanks for this quick answer. I am looking forward to using this future version of the API.

Kind regards.


Who is online

Users browsing this forum: No registered users and 19 guests