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.
07-09-2013 06:53 PM
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.
07-09-2013 09:13 PM
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).
07-10-2013 02:41 AM
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