Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: How to detect BB10 Full-Touch from website

As long as UA not messed with...


var isbbtouch=navigator.userAgent.match(/(BB10; Touch)/i);

if(isbbtouch) {
    // Do something


You can do the same thing in PHP / whatever on the server end

Click the like button if you find my posts useful!
Posts: 610
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: How to detect BB10 Full-Touch from website

Perfect. Thanks!!