Namespaces
Variants
Actions

Archived:KeyPressed() called twice when LSK is pressed and Display is in (Canvas) full-screen mode (Known Issue)

Jump to: navigation, search
Archived.png
Archived: 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

Compatibility
Platform(s): S60 3rd Edition

Article
Created: User:Technical writer 1 (21 Aug 2007)
Last edited: hamishwillee (28 Jun 2012)

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 28 June 2012, at 08:29.
160 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved