Advanced Keyboard Options
The AIR APIs don't really give you much control over the native keyboards (I'm particularly referring to iOS here). It'd be nice to be able to have some more control over the onscreen keyboard e.g. adding a decimal place to the numpad, or adding next/prev tab buttons and a done button above the keyboard.
We are currently investigating what we can provide here. Intercepting the input from AIR can be troublesome however we may be able to provide some options.
If anyone has any specific bugs or issues they need addressed, please drop a comment describing the situation.
also you can add keyboard size fixes like in this ane
@leefj, I think the focus bug has been fixed with Air 22 beta https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3797220
Yes it useful , I want to keep the soft keyboard on screen when stageText lost focus.
We have been investigating this, but it really seems we need to be able to control the input text field to be able to control the keyboard.
In that regard we are considering developing the concept of the Native TextField further as a replacement for StageText.
This may address some of the issues here, feel free to add your support to this idea: http://distriqt.uservoice.com/forums/199650-air-native-extensions/suggestions/9287895-flash-stagetext-the-missing-functionalities-spe
I think this would be a really popular ane for air developers. Any news on if and when this might a reality?
Gustavo Vilera commented
Some things that would also be awesome: (Although the most important one is to keep the Keyboard open even if scrolling or changing focus between textInputs)
- Could be possible to change the languages programmatically ?
- Be able to have the EXACT position of the Keyboard (or size of the area on the screen) FRAME BY FRAME when animating in and out. This would be useful to adapt the UI perfectly, as if the Keyboard would be pushing up the elements at the bottom when opening, and pulling them down when closing.
The worst bug is the forced fullscreen input box when using the keyboard on Android in landscape mode. Horrible experience.
I have seen ANEs that have input fields (for example Facebook logins) being able to fix this so it's doable in AIR.
Andreas Rehnberg commented
I also hope you will add Android support to remove the forced full screen mode in landscape.
As you can see there are plenty of bugs with AIR support of softkeyboard on Android. I bet this ANE will be a hit!
The keyboard experience on Android in landscape mode is horrible today, as the keyboard input box becomes full screen on most devices.
Gustavo Vilera commented
Being able to keep the Keyboard open when changing focus from text input to text input or when scrolling in the UI would be INCREDIBLY USEFUL !!
Overall the Keyboard could be SO MUCH BETTER than what it is alone in AIR