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
Contributor
Posts: 39
Registered: ‎04-23-2011
My Device: N/A
My Carrier: N/A
Accepted Solution

keyboard covering textinput in Flex, FB 4.6 (BB10)

[ Edited ]

Hi there,

 

In Flash Builder 4.6 while creating a flex mobile application in landscape mode, i have a textinput that is covered by the virtual keyboard when the user taps on it, so that the user is tapping 'blindly'. Is there any way for me to get the application to shift upwards as the keyboard is active so that the user can see the keyboard, and when the keyboard is disabled, the application returns to its initial state?

 

please refer to diagram below

 

Also, selecting the type of keyboard in flex (number, email, etc.) does not appear to be working. help?

 

thanks.

Developer
Developer
Posts: 227
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT

Re: keyboard covering textinput in Flex, FB 4.6 (BB10)

check the following in app.xml:

 

<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
<!-- <softKeyboardBehavior></softKeyboardBehavior> -->

 On the simulator, I still cannot get the keyboard to automatically pop when the TextInput get focus...

 

Regards,

Highlighted
Developer
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: keyboard covering textinput in Flex, FB 4.6 (BB10)

Use

 

<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
<softKeyboardBehavior>pan</softKeyboardBehavior>

 

Contributor
Posts: 39
Registered: ‎04-23-2011
My Device: N/A
My Carrier: N/A

Re: keyboard covering textinput in Flex, FB 4.6 (BB10)

I tried softKeyboardBehavior but it returns a problem when trying to launch:

 

"Error occurred while packaging the application:

Packaging failed:1

...

error 103:

application.initialWindow.softKeyboardBehavior is an

unexpected element/attribute

Error: AIR validation failed"

 

Help???

Contributor
Posts: 39
Registered: ‎04-23-2011
My Device: N/A
My Carrier: N/A

Re: keyboard covering textinput in Flex, FB 4.6 (BB10)

Never mind. Added extra pair of tags. Thanks!