Question

I have have serious problems getting the onscreen keyboard to show up on Ouya. Android works fine however. Ouya plays the sound for the keyboard opening, albeit kinda glitchy and what not, but doesn't show anything.

I'm using LibGDX. Any help would be great!

Was it helpful?

Solution

For anyone still looking for an answer for this, below is a quick fix for Ouya textfields.

        final Input.TextInputListener nameListener = new Input.TextInputListener() {
            @Override
            public void input (String text) {
                textField.setText(text);
            }

            @Override
            public void canceled () {

            }
        };


        textField.addListener(new ClickListener() {
            @Override
            public void clicked(InputEvent event, float x, float y) {
                Gdx.input.getTextInput(nameListener, "Please insert world name", "");
            }
        });
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top