Skip to content Skip to sidebar Skip to footer

Javafxports Textfield Issue - Android Keyboard Wont Function

I developed a simple javafx application to be ported in Android Environment, however I cant type any characters in the TextField. I guess its a bug, how to fix this one? Th problem

Solution 1:

Assuming that CustomTextField is just a custom TextField, this is a known issue, not related to the CustomTextField itself, given that it works in other device.

If you debug it:

./adb logcat -v threadtime

you surely find an exception that explains the issue: a StackOverFlow exception.

On older devices it can be solved adding this: create a java.custom.properties file, and include in it this property:

monocle.stackSize=128000

You may also include this one:

monocle.platform=Android

(it will be soon included by default in the next version)

Put the file at the root of your classpath, e.g. in the folder src/android/resources of your project.

Build and deploy the project on your mobile and check again.

Post a Comment for "Javafxports Textfield Issue - Android Keyboard Wont Function"