Is there a way to automatically open a virtual keyboard on the 5800 to allow entering text into an input text field? Maybe (if possible) by simulating a click inside the text field itself?
Thanks,
Ranco
Is there a way to automatically open a virtual keyboard on the 5800 to allow entering text into an input text field? Maybe (if possible) by simulating a click inside the text field itself?
Thanks,
Ranco
Hi,
I am not sure if this would work.. But u can place a textfield off-stage and at that moment( as you desire), set focus to textField. But there is nothing you can do with that, in the broad angle.
My intuition goes like this.
the virtual keypad is launched with the help of the native OS. Which launches the keypad once it gains focus and is clicked.
Since you want to launch the virtual keypad automatically, you can simulate the effect by having the textField off-stage ( not in visible area) and issuing a Click event to it.
I hope I am clear. But I am not sure if u can achieve anything with this.. can you be more elaborate on your use-case ?
Ok, I'll surely try this later today. Does setFocus() simulates a click or justs sets the control in focus?
Well, when game ends it switchs to the top 10 scores screen, in which the user has to enter his/her name. There's an input text field that he's suppose to click for the keyboard to open. It is not 100% intuitive - the user easily skips this phase and leaves the current score empty, loosing his place in the top 10 scores. I just want to force him to enter his name, or at least ignore it knowingly...I hope I am clear. But I am not sure if u can achieve anything with this.. can you be more elaborate on your use-case ?
thanks,
Ranco
Is the game for a touch phone ?
Simulating key presses in Flash is a feature introduces in AS 3 & i tried few trick today but not able to make it work. Therefore, the workaround will be:
1- Create ur own keyboard.
2- Extend Flash Lite with this feature using native languages coz Python & Symbian C++ supports key simulation (& it needs SwEvent Capability)
3- Leave it as it is.
Best Regards,
SajiSoft
I am afraid that even WRT doesnt allow to simulate keys. But do a research in WRT section may b u will find something.
Best Regards,
SajiSoft