Skip to main content
Inspiring
November 24, 2012
Question

StageText, Android 4.1 issue

  • November 24, 2012
  • 1 reply
  • 963 views

Hi,

I have an issue with StageText on my Galaxy Tab 2 7.0 (Android 4.1) device.

Basically I have not found a way to know if the player deactivated the soft keyboard by pressing the Return/Next key or by just pressing outside the keyboard (both triggering SoftKeyboardEvent.SOFT_KEYBOARD_DEACTIVATE).

Main problem: No KeyboardEvents (KEY_DOWN/KEY_UP) works with StageText on Android!

Is there any workaround to this? How can I know if the player pressed the Return Key on the soft keyboard?

The StageText KeyboardEvents work with iOS so the issue is Android specific.

Thanks in advance!

/Karl

This topic has been closed for replies.

1 reply

Inspiring
November 26, 2012

I've seen something similar. The soft keyboard deactivate event is not dispatched when the StageText instance loses focus via Stage.focus=null. I have no solution.

http://forums.adobe.com/message/4808453#4808453

https://issues.apache.org/jira/browse/FLEX-33211