×
Namespaces

Variants
Actions

Archived:KeyPressed() called twice when LSK is pressed and Display is in (Canvas) full-screen mode (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}}.

Article Metadata
Tested with
Devices(s): Nokia E50
CompatibilityArticle
Created: User:Technical writer 1 (21 Aug 2007)
Last edited: hamishwillee (16 Aug 2013)

Overview

When the Display is in Canvas and in full-screen mode, pressing the left softkey (LSK) once results in two key press events.

Description

If any key, including softkeys, is pressed once, a single key pressed event should be generated.
However,  in the Nokia E50 pressing the LSK once will result in two key press events when the Display is Canvas and in full-screen mode.

How to reproduce

Write a sample MIDlet and initialize a variable. Increment it by one inside keyPressed(). Draw its value in Canvas. When pressing other keys, the variable is incremented by one and when pressing the LSK, it is incremented by two.

This page was last modified on 16 August 2013, at 06:29.
25 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×