×
Namespaces

Variants
Actions

Archived:S60 3rd Edition FP1 Emulator closes MIDlet after deleting all characters from TextField using backspace (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The S60 3rd Edition, Feature Pack 1 Emulator closes the MIDlet when the user deletes characters from a TextField and then presses backspace.

Article Metadata
Tested with
Devices(s): Emulator
Compatibility
Platform(s):
S60 3rd Edition FP1
Article
Created: User:Technical writer 1 (16 May 2008)
Last edited: hamishwillee (09 Aug 2013)

Description

The S60 3rd Edition, Feature Pack 1 Emulator closes a TextField MIDlet with the "Application closed: lcdui CTextLayout usin <N>" notification after deleting characters from the TextField component and then pressing backspace.

How to reproduce

Implement a test MIDlet using, for example, the following code:

TextField inputField = new TextField("", "", 30, TextField.ANY); 
Form form;
...
form = new Form("Test");
form.append(inputField);

Launch the MIDlet using the S60 3rd Edition, Feature Pack 1 emulator.

After launch, press backspace (or the 'C' key on the emulator). The MIDlet exits with the "Application closed: <MIDlet name> CTextLayout usin <N>" notification.

The example code above appears without any characters on the TextField component, the proving that the MIDlet exits right after the final/extra backspace press.

Solution

This issue has been fixed starting from S60 3rd Edition, Feature Pack 2.

Note that this issue affects only the emulator, not the actual devices.

This page was last modified on 9 August 2013, at 07:16.
77 page views in the last 30 days.