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 (1 revision(s))
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{Archived|timestamp=20120419124755|user=[[User:Lpvalente|Lpvalente]]}}
__NOEDITSECTION__
+
[[Category:Known Issue]][[Category:Java ME]][[Category:S60 5th Edition]][[Category:UI]]
{{KBKI}}
+
 
{{KnowledgeBase
+
 
|id=KIJ001169
+
{{ArticleMetaData <!-- v1.2 -->
 +
|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]]) -->
 +
|devices= Nokia 5800 XpressMusic
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 
|platform= S60 5th Edition
 
|platform= S60 5th Edition
|devices=Nokia 5800 XpressMusic
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|category=Java ME
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
|subcategory=UI
+
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
|creationdate=November 11, 2008
+
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
|keywords=Nokia-MIDlet-App-Orientation
+
|keywords= Nokia-MIDlet-App-Orientation
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= November 11, 2008, updated January 27, 2009
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|subcategory= UI
 +
|id= KIJ001169
 
}}
 
}}
  
 
==Overview==
 
==Overview==
  
Fixed landscape mode cannot be set by using Java ME in all S60 5th Edition devices.
+
{{Abstract|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 ==
 
== Description ==
Line 25: Line 42:
 
   Nokia-MIDlet-App-Orientation: landscape
 
   Nokia-MIDlet-App-Orientation: landscape
  
However, in the 1st commercial software release of the Nokia 5800 XpressMusic this attribute is not enabled.
+
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 ==
 
== How to reproduce ==
  
1. Include the JAD attribute with the 'landscape' value in the JAD of the MIDlet as follows:
+
# Include the JAD attribute with the 'landscape' value in the JAD of the MIDlet as follows:
 +
#: Nokia-MIDlet-App-Orientation: landscape <br><br>
 +
# Launch the MIDlet. <br><br>
 +
# The MIDlet should be in landscape mode after the launch; affected devices start in portrait mode.
  
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 ==
 
== Solution ==
  
For the 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.
 
  
 +
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.
  
[[Category:For publishing]][[Category:Java ME]][[Category:S60 5th Edition]][[Category:UI]]
+
This issue applies only to the 1st commercial software release and has been fixed in sw version 11.0.008.

Latest revision as of 07:41, 1 August 2012

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}}.

The article is believed to be still valid for the original topic scope.


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 (01 Aug 2012)

Contents

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.

This page was last modified on 1 August 2012, at 07:41.
220 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