I have read some blog posts and forum entries about trying to implement a QNXApplicationEvent.SWIPE_DOWN listener with the Blackberry AIR SDK to deploy on the Playbook, but somehow none work for me.
I have tried signals:
_swipedDown = newNativeSignal(QNXApplication.qnxApplication, QNXApplicationEvent.SWIPE_DOWN, QNXApplicationEvent);
_swipedDown.add(onSwipedDown);
And I have tried with regular event handlers:
QNXApplication.qnxApplication.addEventListener(QNXApplicationEvent.SWIPE_DOWN, onSwipedDown);
But the handler never traces anything:
private function onSwipedDown(_:QNXApplicationEvent):void
{
trace("\n", this, "--- onSwipedDown ---");
}
The class holding this code extends a Sprite. Anything I should know about?
I also posted my question in the BlackBerry forums: http://supportforums.blackberry.com/t5/Adobe-AIR-Development/QNXApplicationEvent-SWIPE-DOWN-not-firing-at-all-in-an-AS3/td-p/1719625