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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

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

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Contributor
Posts: 30
Registered: ‎04-04-2012
My Device: BlackBerry Playbook
My Carrier: Telus

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

That was indeed the case, thanks a bunch for the info!

--
mat janson blanchet
twitter: @jansensan, portfolio: http://jansensan.net/portfolio, tech blog: http://jansensan.net
Contributor
Posts: 30
Registered: ‎04-04-2012
My Device: BlackBerry Playbook
My Carrier: Telus

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

Yup, that's exactly what I was looking for, thanks! Can't wait to upgrade Smiley Happy
--
mat janson blanchet
twitter: @jansensan, portfolio: http://jansensan.net/portfolio, tech blog: http://jansensan.net
New Developer
Posts: 48
Registered: ‎06-26-2011
My Device: Blackberry Playbook
My Carrier: none

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

It doesn't work for me too when I am using blackberry-tablet-sdk-3.0.0 beta 4.

It works fine on dev alpha when I am compiling code with blackberry-tablet-sdk-2.1 but with 3.0 it doesn't work.

I am including QNXDevice.ane which contains QNXApplication Class but it doesnt work properly :/

 

Does anybody know solution for sdk 3.0?

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

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

Is it crashing or just not firing?
And you are doing this:

this.app.addEventListener( QNXApplicationEvent.SWIPE_DOWN, showApplicationBar );

It is working in all my apps, the same way they do from the PlayBook, so it has to be a setup issue.
New Developer
Posts: 48
Registered: ‎06-26-2011
My Device: Blackberry Playbook
My Carrier: none

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

I am using

QNXApplication.qnxApplication.addEventListener(QNXApplicationEvent.SWIPE_DOWN, onSwipe);

 

onSwipe function is not firing at all. It works fine when I compile code using 2.1 version of SDK.

With BB10 SDK (3.0) it doesn't work. I am using FlashDevelop and including all needed libraries(.ane with SDK 3.0 and .swc with SDK 2.1).

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

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

Why are you not using the SWC from 3.0? You cannot mix 2.1 with 3.0. The 3.0 SWC will only work with thge 3.0 ANEs.
New Developer
Posts: 48
Registered: ‎06-26-2011
My Device: Blackberry Playbook
My Carrier: none

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

I am not using .swc from 3.0 because qnx.system.QNXApplication is included only in QNXDevice.ane with SDK 3.0

 

When I am compiling with SDK 2.1 I am including QNXApplication class from qnxdevice.swc (from SDK 2.1) . I am not mixing it. When I use SDK 2.1, swipe gesture works fine on Dev Alpha (like it did on PlayBook) but I need some functionality from SDK 3.0 (Active Frames) and I don't even know if SDK 2.1 will be working fine with the final BB10.

 

Thanks for help.

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

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

Good luck. Living dangerously in mixing the SDKs. Everything will be BB10 SDK in the spring, so hopefully you wont have to do this for long.
New Developer
Posts: 48
Registered: ‎06-26-2011
My Device: Blackberry Playbook
My Carrier: none

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

I've implemented Active Frames and it's working fine, but I still can't use Swipe Down with SDK 3.0 :/

New Developer
Posts: 48
Registered: ‎06-26-2011
My Device: Blackberry Playbook
My Carrier: none

Re: QNXApplicationEvent.SWIPE_DOWN not firing at all in an AS3 project

I have solved this problem.

It was in descriptor .xml file

 

I had to add tag with information about native extensions:

 

 <extensions>
        <extensionID>qnx.system.QNXDevice</extensionID>
 </extensions>