Archived:Fixed landscape mode cannot be set by using Java ME in Nokia 5800 XpressMusic (Known Issue)
| Line 8: | Line 8: | ||
|category=Java ME | |category=Java ME | ||
|subcategory=UI | |subcategory=UI | ||
| − | |creationdate=November 11, 2008 | + | |creationdate=November 11, 2008, updated January 27, 2009 |
|keywords=Nokia-MIDlet-App-Orientation | |keywords=Nokia-MIDlet-App-Orientation | ||
}} | }} | ||
| Line 14: | Line 14: | ||
==Overview== | ==Overview== | ||
| − | Fixed landscape mode cannot be set by using Java ME in all S60 5th Edition devices. | + | 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 25: | ||
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. |
| Line 37: | Line 37: | ||
3. The MIDlet should be in landscape mode after the launch; affected devices start in portrait mode. | 3. 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. | ||
[[Category:Known Issue]] | [[Category:Known Issue]] | ||
[[Category:Java ME]][[Category:S60 5th Edition]][[Category:UI]] | [[Category:Java ME]][[Category:S60 5th Edition]][[Category:UI]] | ||
Revision as of 16:40, 27 January 2009
Article Metadata
Tested with
Compatibility
Article
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.

