Archived:Disabling compatibility mode in S60 5th Edition
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}}.
We do not recommend Flash Lite development on current Nokia devices, and all Flash Lite articles on this wiki have been archived. Flash Lite has been removed from all Nokia Asha and recent Series 40 devices and has limited support on Symbian. Specific information for Nokia Belle is available in Flash Lite on Nokia Browser for Symbian. Specific information for OLD Series 40 and Symbian devices is available in the Flash Lite Developers Library.
We do not recommend Flash Lite development on current Nokia devices, and all Flash Lite articles on this wiki have been archived. Flash Lite has been removed from all Nokia Asha and recent Series 40 devices and has limited support on Symbian. Specific information for Nokia Belle is available in Flash Lite on Nokia Browser for Symbian. Specific information for OLD Series 40 and Symbian devices is available in the Flash Lite Developers Library.
Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Nokia N97
Nokia N97
Compatibility
Platform(s): S60 5th Edition
Article
Keywords: DisableKeypadCompatibilityMode
Created: User:Technical writer 1
(27 Jan 2009)
Last edited: hamishwillee
(14 May 2013)
Contents |
Overview
This article describes how to disable the Flash Lite compatibility mode in the latest software versions of S60 5th Edition touch-enabled devices.
Description
In S60 5th Edition, a Flash Lite application is run in compatibility mode with on-screen virtual D-pad and softkeys by default. This is typically unwanted behaviour in a full-screen touch application.
How to reproduce
Open a Flash Lite application that does not have the compatibility mode disabled.
Solution
The following fscommand disables the compatibility mode:
fscommand2("DisableKeypadCompatibilityMode"); //must be before "fullscreen"
fscommand2("fullscreen", "true");This code can be safely used in all Flash Lite versions, even in those that do not support the DisableKeypadCompatibilityMode command.


This is indeed a good solution for disabling the compatibility mode on touch-enabled devices.
The device shows the annoying on-screen virtual D-pad and softkeys which mixes-up with the application by default and hence if the application is suffcient intelligent to provide all the interaction in its layout, its necessary to disable the compatibility mode.