Search code examples
mobilejava-mesymbiantextfieldj2mepolish

J2ME Polish Textfields and Symbian^3 Touch Devices


today's question is about the use of textfields in J2ME Polish for Symbian^3 devices.

In my code I have something like this:

TextField digitValueText = new TextField ("Number", "", 1, TextField.NUMERIC);

This works perfectly fine on other symbian devices (s40, s60, etc), however, when I go and test it on a Nokia N8 (Symbian^3) I can't input numbers, nor does the device allow me to select the textfield to popup the keyboard.

Has anyone else gone through this problem?

the textField has to be numbers-only since we don't want the users to input text (it's for authentication).

Thanks in advance!


EDIT: So it seems that this behavior is from polish.TextField.useDirectInput, TextField.NUMERIC inherits the behavior by default... still any ideas on this?


Solution

  • Change the project configuration to Generic/AnyPhone.