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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Posts: 40
Registered: ‎05-12-2012
My Device: 9800
My Carrier: Virgin mobile

Directly access Trackpad directional input without Focus Based Nav

I am trying to find a way to access the trackpad directly without focus based navigation. I have an application that uses focus based navigation. it is a messaging system that has a fixed header then under that a scrollable div of messages. I currently use focus based navigation to move through this list. On a single page it works 'ok' there are issues with navigation judder when it scrolls. I set up a test bed to find out why.


This test bed uses a single focusable elemnet to represent the message and then it is repeated about 15 times so I have something to scroll through. When I scroll through it though it judders. even if I move slowly I can see this. what is happening is sometimes when the screen scrolls it does not change the focus to the next element down (it just scrolls it into view but remains on the item above. This is JUST using focus based nav, no JS or anything else.


I have also had huge issues with transfering between pages (using div hiding/showing). The navigation gets lost.


So I am thinking of rolling my own. Just trapping the trackpad movements and using jQuery to set focus. I already have an ID map of all the elements I need to move through so I can store it myself and control it myself, but I need a way of getting the trackpad movement info without focus based nav.


I have checked through the docs and API reference and can'y find anything.


Any help much appreciated.