We are getting the following on a Dell Venue Tablet:
User Agent server side:
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; Touch; rv:11.0) like Gecko
User Agent in JavaScript (has some more detail):
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; Touch; .NET4.0E; .NET4.0C; Tablet
PC 2.0; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; rv:11.0)
like Gecko
We are getting the following from the service ...
{ ...
"is_tablet": false,
"is_mobile": false,
"is_smartphone": false,
"is_touchscreen": false,
...}
And ideas of why the service is returning false for all of these values? I
would expect Tablet and/or Touchscreen to be true.
Dell Venue Tablet
Re: Dell Venue Tablet
Hi Amir,
The tablet, you are testing with, runs the full blown Windows 8.1 desktop OS. Since this desktop OS does not disclose the model version of the device, we are unable to conclusively determine if the device is indeed a tablet or not. Please note that the "Touch" keyword in the UA only indicates that the device is equipped with a touch digitizer and does not indicate if the device is a tablet or not.
That said, we are planning to update the API logic in the next release to at least classify these kinds of UAs as a touchscreen device. We will also look at the feasibility of leveraging the "Tablet PC" keyword in the User-Agent. We currently don't have an ETA for this but we will keep you updated. Please stay tuned.
Cheers!
The tablet, you are testing with, runs the full blown Windows 8.1 desktop OS. Since this desktop OS does not disclose the model version of the device, we are unable to conclusively determine if the device is indeed a tablet or not. Please note that the "Touch" keyword in the UA only indicates that the device is equipped with a touch digitizer and does not indicate if the device is a tablet or not.
That said, we are planning to update the API logic in the next release to at least classify these kinds of UAs as a touchscreen device. We will also look at the feasibility of leveraging the "Tablet PC" keyword in the User-Agent. We currently don't have an ETA for this but we will keep you updated. Please stay tuned.
Cheers!
Sriram Sridharan
-
- Posts: 1
- Joined: Mon Feb 02, 2015 3:45 pm
Re: Dell Venue Tablet
Touch is there in the user agent... so it should say touch is true but it doesnt...
you can add...
you could also say if generic web browser and touch exists... give an option to the user for the touch_browser version of your site
you can add...
Code: Select all
<?php if(strpos(strtolower($user_agent)," touch;") && $user_device=="generic_web_browser") {$touch_capability=true;} ?>
Re: Dell Venue Tablet
Hello,
Doing a string search may work in this case but can return false positives in many other situations. We are currently looking into including better touch capabilities in our next WURFL API release.
Thank you,
Elliot
Doing a string search may work in this case but can return false positives in many other situations. We are currently looking into including better touch capabilities in our next WURFL API release.
Thank you,
Elliot
Who is online
Users browsing this forum: No registered users and 55 guests