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
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

SDK 2. IMFConnection and IMFKeyboardOptions gone?

Finally getting around to upgrading to the 2.0 SDK.  What happended to:

 

import qnx.input.IMFConnection;

import qnx.input.IMFKeyboardOptions;

BlackBerry Development Advisor
Posts: 172
Registered: ‎10-25-2010
My Device: Not Specified

Re: SDK 2. IMFConnection and IMFKeyboardOptions gone?

Those classes where private and undocumented and where removed as they were no longer needed by the SDK.

 

You can show the keyboard by using standard AIR API's using the requestSoftKeyboard() and needsSoftKeyboard on InteractiveObject.

 

if you want to hide the keyboard set stage.focus = false;

 

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

Re: SDK 2. IMFConnection and IMFKeyboardOptions gone?

How does one now set the keyboard type with a TextField if that option is no longer available? What replaces it?
Highlighted
Retired
Posts: 856
Registered: ‎07-15-2008
My Device: Passport
My Carrier: Bell

Re: SDK 2. IMFConnection and IMFKeyboardOptions gone?

The platform specific features will not be supported by a standard TextField, which is consistent with other platform implementations.

 

To use the platform specific keyboard features, you should use the QNX Text classes, or the StageText class.

Tim Windsor
Open Source Technical Lead