Archived:Fixed landscape mode cannot be set by using Java ME in Nokia 5800 XpressMusic (Known Issue)
m (1 revision(s)) |
hamishwillee
(Talk | contribs) m (Text replace - "Category:S60 5th Edition (initial release)" to "Category:S60 5th Edition") |
||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Archived|timestamp=20120419124755|user=[[User:Lpvalente|Lpvalente]]}} | |
| − | + | [[Category:Known Issue]][[Category:Java ME]][[Category:S60 5th Edition]][[Category:UI]] | |
| − | {{ | + | |
| − | {{ | + | |
| − | | | + | {{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 | + | |devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) --> |
| − | |category= | + | |dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 --> |
| − | | | + | |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 |
| + | |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 == | ||
| − | + | # 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. | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Solution == | == 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. | |
Latest revision as of 07:41, 1 August 2012
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Compatibility
Article
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
- Include the JAD attribute with the 'landscape' value in the JAD of the MIDlet as follows:
- Nokia-MIDlet-App-Orientation: landscape
- Nokia-MIDlet-App-Orientation: landscape
- Launch the MIDlet.
- 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.

