Why doesn't the soft keyboard show up on Android?

I added a Slate “SEditableTextBox” text edit field to my application:

TSharedPtr<class SEditableTextBox> edit;
SAssignNew(edit, SEditableTextBox)
	.MinDesiredWidth(100);

The field shows up fine and gets the focus. The problem is that when the edit box gets the focus the keyboard does not show up and I cannot write anything.

Is there something I needs to add to get the keyboard to appear for my app?

So, as I recall, you need to use an SVirtualKeyboardEntry widget instead of SEditableTextBox. But there’s a bigger problem which is that we actually haven’t implemented the bits on Android yet (an oversight, we’ve never actually needed virtual keyboard yet!)

I will add a task for this to be done soon, but if you want to have a go, check out FIOSPlatformTextField, that is what needs to be done for Android.

Josh

I am just wondering why wouldn’t SEditableTextBox popup the virtual keyboard on Android? It does not sound very cross platform if the app needs to check the platform and use different components as an edit field.

Yeah, that’s something we are actually investigating. I don’t currently have a timeframe, but there was a reason we went with the separate widget (it was so long ago tho, I can’t recall the reason). We all want it to be a single widget to rule them all :slight_smile:

Is SVirtualKeyboardEntry working on Android now?

(The user should be able to setup his name. Is there a way now to get text input somehow?)

Any update on this integration?

any news about this?

SEditableTextBox or SVirtualKeyboardEntry work. Both currently bring up a dialog box with a editbox when in focus.

I want when I focus on the TextBox without a dialog box, so what should I do?

I need to…

Could you be more clear on what you need to do?

I used SVirtualKeyboardEntry slate widget.
virtual keyboad show up dialog box with a editbox when in focus.
and SVirtualKeyboardEntry::OnTextCommitted is not direct call when virtual keyboard dialog hide.
but it is call when occur other touch input.
I think OnTextCommitted call back when focus switch because of other touch input.

How to use SVirtualKeyboardEntry widget?

I resolve! SetTextFromVirtualKeyboard function override.