I used wurfl-2.3.3
WURFL File and checked my site with Samsung Galaxy Tab 2 10.1 and it identifies the device as a mobile phone but if I check it with Ipad it correctly identifies it as a tablet.
FYI, the following is the script I used.
$is_tablet = ($requestingDevice->getCapability('is_tablet') == 'true');
$is_phone = ($requestingDevice->getCapability('can_assign_phone_number') == 'true');
if ($is_tablet) {
echo "This is a Tablet";
} else if ($is_phone) {
echo "This is a Mobile Phone";
}
Is all Android tablets use user agent as 'mobile'? How to fix this problem and which make sure WURFL can identifies all android tablets as a tablet not a mobile(including samsung) ?