I have a strictly numeric field for the user to fill, and the default entry mode to be numeric. In the "Java(TM) Platform Micro Edition SDK 3.0" simulator, the following code is working as it should.
However, on a physical QWERTY keyboard device, such as the Nokia E72, it's not.
The restriction to write only numbers is working. But the default input mode for the field is not. The user has to use the 'Shift' + number in order to input a number, rather than just pressing on a number's key.
The code I'm using is as follows:
inputField.setConstraint(TextField.NUMERIC);
inputField.setInputMode("123"); //I tried commenting this line in case it was
//causing a problem, but it still occurred.
inputField.setInputModeOrder(new String[]{"123"});
How can I enable a default writing of numbers -without- having to use the native input (T9) screen?