| ID | KIJ001386 | Creation date | May 29, 2009 |
| Platform | S60 5th Edition | Devices | Nokia 5800 XpressMusic |
| Category | Java ME | Subcategory | UI |
| Keywords (APIs, classes, methods, functions): TextBox, TextField, TextField.NUMERIC |
Inserting the minus character into a numeric TextField with the alphabetical keyboard in Nokia 5800 XpressMusic is not allowed.
Nokia 5800 XpressMusic allows three different keyboards (Mini QWERTY, Full screen QWERTY, and alphanumeric keypad) for inserting text into a TextField.
If a TextField is defined as a numeric TextField, inserting numbers and minus character is allowed for all keyboards. However, when using the alphabetical keyboard (Mini QWERTY, Full screen QWERTY) of Nokia 5800 XpressMusic, inserting the minus character is not possible.
1. For testing, implement a test MIDlet by using this source code as template: http://wiki.forum.nokia.com/index.php/TextBox
2. Modify this line:
TextBox textbox = new TextBox("Text Box Example",
"This is an example of a TextBox",50,0);
The modified line:
TextBox textbox = new TextBox("Text Box Example",
"This is an example of a TextBox",50,TextField.NUMERIC);
3. Install and launch the application.
4. Tap the TextBox to open the keyboard for inserting text into the TextField. Choose an alphabetical keyboard (Mini QWERTY, Full screen QWERTY) if not already visible.
5. Insert some numbers and try inserting the minus character.
6. For comparison, choose alphanumeric keypad and repeat step 5.
This issue is expected to be fixed in future S60 5th Edition devices.
For Nokia 5800 XpressMusic, use alphanumeric keypad only.
No related wiki articles found