×
Namespaces

Variants
Actions
Revision as of 19:48, 9 November 2012 by lpvalente (Talk | contribs)

Archived:Disabling compatibility mode in S60 5th Edition

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia 5800 XpressMusic
Nokia N97
Compatibility
Platform(s): S60 5th Edition
S60 5th Edition
Article
Keywords: DisableKeypadCompatibilityMode
Created: User:Technical writer 1 (27 Jan 2009)
Last edited: lpvalente (09 Nov 2012)


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.

52 page views in the last 30 days.
×