Namespaces
Variants
Actions
(Difference between revisions)

Archived:Fixed landscape mode cannot be set by using Java ME in Nokia 5800 XpressMusic (Known Issue)

Jump to: navigation, search
m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData)
Line 2: Line 2:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
{{KBKI}}
 
{{KBKI}}
{{KnowledgeBase
+
{{ArticleMetaData
 
|id=KIJ001169
 
|id=KIJ001169
 
|platform= S60 5th Edition
 
|platform= S60 5th Edition
Line 10: Line 10:
 
|creationdate=November 11, 2008, updated January 27, 2009
 
|creationdate=November 11, 2008, updated January 27, 2009
 
|keywords=Nokia-MIDlet-App-Orientation
 
|keywords=Nokia-MIDlet-App-Orientation
 +
 +
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) -->
 +
|signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities=<!-- Capabilities required (e.g. Location, NetworkServices.) -->
 +
|author=[[User:Technical writer 1]]
 
}}
 
}}
  

Revision as of 14:43, 24 June 2011


Template:KBKI

SignpostIcon Asha UI.png
Article Metadata

Tested with
Devices(s): Nokia 5800 XpressMusic

Compatibility
Platform(s): S60 5th Edition

Article
Keywords: Nokia-MIDlet-App-Orientation
Created: User:Technical writer 1 (November 11, 2008, updated January 27, 2009)
Last edited: hamishwillee (24 Jun 2011)

Overview

Fixed landscape mode cannot be set by using Java ME in all S60 5th Edition devices and S60 5th Edition, v0.9 SDK emulator.

Description

Using Java ME, the fixed landscape mode can be set starting from S60 5th Edition by using the JAD parameter name Nokia-MIDlet-App-Orientation.

Possible values for the parameter are: "portrait" and "landscape". In case of another value, the application orientation is automatically decided by the device.

 Nokia-MIDlet-App-Orientation: portrait
 Nokia-MIDlet-App-Orientation: landscape

However, in the 1st commercial software release of the Nokia 5800 XpressMusic and S60 5th Edition, v0.9 SDK this attribute is not enabled.


How to reproduce

1. Include the JAD attribute with the 'landscape' value in the JAD of the MIDlet as follows:

Nokia-MIDlet-App-Orientation: landscape

2. Launch the MIDlet.

3. The MIDlet should be in landscape mode after the launch; affected devices start in portrait mode.


Solution

For the S60 5th Edition, v0.9 SDK emulator, Nokia 5800 XpressMusic and other devices which do not support the fixed landscape orientation it is advisable to show the note "Portrait mode not supported, please turn the orientation into landscape mode" on the display when having such a device in portrait mode.

This issue applies only to the 1st commercial software release and has been fixed in sw version 11.0.008.

223 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