Hey there,
I've just tested tgui on Android and it works well, Buttons and callbacks do what they need to do. But when I create a EditBox there are some problems. Firtly it appears as normal in the App-Display, when I set a Text from code it'll also appear, but as soon as I tap with my finger on the EditBox to type in sth. the App crashes with the standart Android error msg: "Unfortunately, TheApp has stopped."
Here is my Code:
At least the virtual keyboard on Android appears, then after like one second it crashes.
I already tryed other keyboards (Googles Keyboard & Samsung Keyboard).
My first try was to compile the 0.7-tgui release. After I got the error I compiled the current code from Github.
Both didn't work.
Have you any solutions fir this problem?
I've just tested tgui on Android and it works well, Buttons and callbacks do what they need to do. But when I create a EditBox there are some problems. Firtly it appears as normal in the App-Display, when I set a Text from code it'll also appear, but as soon as I tap with my finger on the EditBox to type in sth. the App crashes with the standart Android error msg: "Unfortunately, TheApp has stopped."
Here is my Code:
Code Select
auto editBox = std::make_shared<tgui::EditBox>();
editBox ->setSize(700, 100);
editBox ->setPosition(10, 500);
// editBox ->setText("Some Text");
GUI->add(editBox );
At least the virtual keyboard on Android appears, then after like one second it crashes.
I already tryed other keyboards (Googles Keyboard & Samsung Keyboard).
My first try was to compile the 0.7-tgui release. After I got the error I compiled the current code from Github.
Both didn't work.
Have you any solutions fir this problem?