Welcome!

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

Adobe AIR Development

Reply
Highlighted
New Contributor
Posts: 6
Registered: ‎04-11-2012
My Device: Playbook
My Carrier: T-Mobile
Accepted Solution

bb10 listen to swype_down

Hi!

I had a playbook application, where I listened to SWYPE_DOWN event, to call the menu. I see on my dev alpha B, that there is still a menu appearing on swype_down, ex. in the Calendar. 

How can I listen to it?

On Playbook, i used QNXApplication.qnxApplication.addEventListener(QNXApplicationEvent.SWIPE_DOWN, swipeDown);

Thanks,
Gabor

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: bb10 listen to swype_down

Swipe down event for BB10 is no different then the PlayBook.
New Contributor
Posts: 6
Registered: ‎04-11-2012
My Device: Playbook
My Carrier: T-Mobile

Re: bb10 listen to swype_down

then why does it show  Error 1120: Access of undefined property QNXApplication. ?

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: bb10 listen to swype_down

Are you including the device ANE, did you check the include library path option in the project's properies?
New Contributor
Posts: 6
Registered: ‎04-11-2012
My Device: Playbook
My Carrier: T-Mobile

Re: bb10 listen to swype_down

it sees QNXSystem, but not the QNXApplication. Where can I find these ANE-s? I try to reinstall the SDK.. 

New Contributor
Posts: 6
Registered: ‎04-11-2012
My Device: Playbook
My Carrier: T-Mobile

Re: bb10 listen to swype_down

solved: ane is located here: 

C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\frameworks\libs\qnx\ane