Java Api don't detect some devices

I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
Zagruzka
Posts: 6
Joined: Fri Aug 23, 2013 6:24 am

Java Api don't detect some devices

Postby Zagruzka » Fri Aug 23, 2013 8:36 am

Could you use x-wap-profile for detect?
RealRequest:
x-wap-profile=http://wap.sonyericsson.com/UAprof/K700cR201.xml
user-agent=MAUI WAP Browser

wurfl.xml:
<device id="sonyericsson_k700c_ver1" user_agent="SonyEricssonK700c" fall_back="sonyericsson_k700_ver1" actual_device_root="true">
<group id="product_info">
<capability name="uaprof" value="http://wap.sonyericsson.com/UAprof/K700cR101.xml"/>
<capability name="model_name" value="K700c"/>
<capability name="uaprof2" value="http://wap.sonyericsson.com/UAprof/K700cR201.xml"/>
</group>
...

Could you use x-operamini-phone-ua for detect also?

Nokia 2700 classic
В запросе:
x-operamini-phone=Nokia # N2700 Classic
device-stock-ua=Nokia2700c-2
x-operamini-phone-ua=Nokia2700c-2
user-agent=Opera/9.80 (J2ME/MIDP; Opera Mini/4.1.15082/30.3697; U; ru) Presto/2.8.119 Version/11.10

wurfl.xml:
<device id="nokia_2700c_ver1" user_agent="Nokia2700c-2/2.0 (07.15) Profile/MIDP-2.1 Configuration/CLDC-1.1" fall_back="nokia_generic_series40_dp50" actual_device_root="true">
<group id="product_info">
<capability name="uaprof" value="http://nds1.nds.nokia.com/uaprof/N2700c-2r100.xml"/>
<capability name="model_name" value="2700 classic"/>
<capability name="brand_name" value="Nokia"/>
<capability name="release_date" value="2009_january"/>
</group>
...

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

Re: Java Api don't detect some devices

Postby sm_support2 » Fri Aug 23, 2013 8:43 am

Hello Zagruzka,

as far as recognition of the device with UAProf goes, you will need to wait until API 2.0 for the feature.

As far as the Opera Mini header is concerned, API 2.0 will help there, but the good news is that, already today, with a small change in the code you can have the Java API detect the device and not the browser in the case of Opera Mini (you'll need to rebuild. As a paying customer you can also contact us through Zendesk for this).

Thanks


Who is online

Users browsing this forum: No registered users and 14 guests