Samsung GT-I9100 "Desktop view mode" gets detected wrong
Posted: Wed Feb 15, 2012 1:58 am
Hi,
I have a Samsung GT-I9100 (Galaxy S II), Android 2.3.3. I am using the wurfl.xml from 2012-02-12 and Java API 1.3.1.1.
The browser of this device has a so called "View mode" option in its settings. You can set this either to "Mobile" or "Desktop". When this is set to "Mobile", the device gets detected by WURFL correctly. But, when setting to "Desktop", WURFL detects it as "samsung_gt_s5830_ver1_suban22_funnyua", where model_name is "GT-S5830" and brand_name is "Samsung".
Okay, no problem, I thought, and created a WURFL patch file as follows:
But, for some reason, this does nothing change about the device being detected wrong. I have other patch-files, which are working, too, so I think there should nothing be wrong with this one.
Could you please help me to solve this problem?
Thank you in advance.
I have a Samsung GT-I9100 (Galaxy S II), Android 2.3.3. I am using the wurfl.xml from 2012-02-12 and Java API 1.3.1.1.
The browser of this device has a so called "View mode" option in its settings. You can set this either to "Mobile" or "Desktop". When this is set to "Mobile", the device gets detected by WURFL correctly. But, when setting to "Desktop", WURFL detects it as "samsung_gt_s5830_ver1_suban22_funnyua", where model_name is "GT-S5830" and brand_name is "Samsung".
Okay, no problem, I thought, and created a WURFL patch file as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<wurfl_patch>
<devices>
<device user_agent="Mozilla/5.0 (Linux; U; de-de; GT-I9100 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Safari/533.1"
fall_back="samsung_gt_i9100_ver1" id="samsung_gt_i9100_funnyua"/>
</devices>
</wurfl_patch>
Could you please help me to solve this problem?
Thank you in advance.