Virtual Keyboard on Android
#1
Question 
Hi!

The following code for revealing the virtual keyboard does work on iOS:

IKeyboardControl* keyboardControl = state->GetDeviceHandler()->GetOutputDeviceHandler()->GetKeyboardControl();

keyboardControl->SetReturnKeyType(IKeyboardControl::RETURN_KEY_DONE);
keyboardControl->SetKeyboardType(IKeyboardControl::KEYBOARD_EMAIL);
keyboardControl->Show();


However, nothing does happen on Android, except the state->GetDeviceHandler()->IsKeyboardShowing() method evaluates to true.

Any ideas?

Regards,
Stefan
Reply
#2
Apost 
Hi Stefan,

it seems there is a bug in the Android code when changing the keyboard type or return key type.
I will look into that issue. In the meantime you could just omit the calls SetReturnKeyType and SetKeyboardType as a workaround.
Reply
#3
Apost 
The bug has been fixed and the fix will be included in the next release.
The next public release will be end of this week or maybe on Monday next week. Let me know if you need the bug fix earlier.
Reply
#4
Apost 
(moved thread to the correct forum)
Reply
#5
Apost 
Thx! I will wait for the release.
Reply
#6
Apost 
I need the fix for same bug too.
Reply
#7
Apost 
(23 Dec 2014, 12:51)roidbay Wrote: I need the fix for same bug too.

The bug has been fixed in V1.00.2828 which was released in August.
What exactly is your problem?
Reply


Forum Jump:


Copyright © 2011-2017 Spraylight GmbH.