| ID | KIJ001299 | Creation date | January 28, 2009, updated February 24, 2009 |
| Platform | Series 40 5th Edition, Feature Pack 1 | Devices | Nokia 6212 Classic |
| Category | Java ME | Subcategory | UI |
| Keywords (APIs, classes, methods, functions): TextField.PHONENUMBER |
Nokia 6212 Classic fails to access the device's contacts with TextField.PHONENUMBER.
When displaying a TextBox using TextField.PHONENUMBER as a parameter in Series 40, the Search option can be used to open the contacts database application. However, in Nokia 6212 Classic using this option makes the device reboot.
The following code snippet can be used for testing this issue:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class ContactTest extends MIDlet {
private TextBox phoneNumber;
public void startApp()
{
phoneNumber = new TextBox("Tel","",12,TextField.PHONENUMBER);
Display display = Display.getDisplay(this);
Display.getDisplay(this).setCurrent(phoneNumber);
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}
This issue will be fixed in software version 06.20.
No related wiki articles found