O'Reilly logo

Sencha Touch Cookbook - Second Edition by Ajit Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Navigating using the BlackBerry trackpad

Sencha Touch supports the WebOS 6+ version, and many of you may have a need to support BlackBerry devices in your application. Some of these devices are not touch devices, and it expects the applications to respond to their trackpad events. A trackpad is used to scroll as well as click/tap. But, Sencha Touch does not provide in-built support for a trackpad. In this recipe, we will see how we can implement scrolling on the containers and tap on the list item using a trackpad.

Getting ready

Make sure that you have set up your development environment by following the recipes outlined in Chapter 1, Gear Up for the Journey.

Create a new folder ch10 in the www folder. You will be using this new folder to keep the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required