Page 1 of 1

Dell Venue Tablet

Posted: Tue Jul 01, 2014 9:59 am
by aghadiry
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.

Re: Dell Venue Tablet

Posted: Tue Jul 01, 2014 10:20 am
by sriram
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!

Re: Dell Venue Tablet

Posted: Mon Feb 02, 2015 3:55 pm
by djkorbread
Touch is there in the user agent... so it should say touch is true but it doesnt...
you can add...

Code: Select all

<?php if(strpos(strtolower($user_agent)," touch;") && $user_device=="generic_web_browser") {$touch_capability=true;} ?>
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

Re: Dell Venue Tablet

Posted: Tue Feb 03, 2015 10:41 am
by Elliotfehr
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