2

I want to run my application in landscape mode on MyPhone TW1 Duo using the LWUIT.

In Nokia devices I add the following attribute in JAD :

Nokia-MIDlet-App-Orientation - Landscape
Samsung devices : MIDlet-ScreenMode :Landscape

But when I add both this attribute on MyPhone TW1 Duo it will not play application on landscape it will play in portrait.

How to restrict LWUIT application on MyPhone TW1 Duo to landscape only?

gnat
  • 6,213
  • 108
  • 53
  • 73
Megha
  • 1,581
  • 2
  • 18
  • 33

1 Answers1

0

There is no general code to build app only in landscape mode. Only, the famous mobile providers like Nokia and Samsung gave JAD property to restrict the app in only landscape or portrait mode.

If you used MIDlet-ScreenMode :Landscape in JAD, you can't able to install the app in Nokia C5 because custom jad property can't start with name Midlet-.

How to lock the landscape mode in j2me app?.

If you are using Canvas, try this.

Create Landscape Game Canvas for Asha 303

Community
  • 1
  • 1
Kalai Selvan Ravi
  • 2,846
  • 2
  • 16
  • 28