When using LibGdx openURI I get an error -12

108 Views Asked by At

I created a button with a ClickListener to link to a website, this is the bit of code:

buttonRight.addListener(new ClickListener() {
    @Override
    public void clicked(InputEvent event, float x, float y) {
        Gdx.net.openURI("https://website/");
    }
});

nothing happens when clicked, log error is:

 E/IAudioFlinger: createTrack returned error -12

any suggestions?

0

There are 0 best solutions below