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.

Posts: 1
Registered: ‎07-09-2013
My Device: Blackberry 10
My Carrier: None

qnx classess missing or moved


I am trying to port the code of a running application from Blackberry Playbook to Blackberry 10 and I am running into problems where the classes or methods are missing or moved. One example is the AlertDialog which on Blackberry 10 was on "import qnx.dialog.AlertDialog" now it is on "import qnx.fuse.ui.dialog.AlertDialog". I can not find the equivalent of "import qnx.input.IMFConnection". Where can I find this information? Where are these classes? What has changed? Why were this classes moved? Thanks for any help that you can provide.

Posts: 1,269
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: qnx classess missing or moved

Search is not as good as it could be on the API doc pages or on the forums, but yet a quick search for the IMFConnection yielded this thread:




The class was apparently private and undocumented, and so it was removed.


One good way to search the API docs is to use a bit of Google-Fu such as typing e.g. the following into your Google search box:


<name of some class you need info on>  site:https://developer.blackberry.com/air/


and then be wary of which platform's API docs you are viewing (review the state of the "Platform" button in the upper left of the page of the API docs).

Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: qnx classess missing or moved

This example shows you how you should use an aletrdialog now:




If you used IMFConnection before, I guess you used it to hide the keyboard (I did so too). I think you can also hide the keyboard by setting the focus of your current stage to null

I'm a bird from outer space. But I'm not flappy o.o