Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restrict j2me application in the Landscape mode only

I am developing application using J2ME and LWUIT.I want to run this application on landscape mode only. For Nokia there is an attribute : Nokia-MIDlet-App-Orientation: landscape but for other device , What is the attribute to restrict the application to landscape mode only? How to achieve this for different J2ME devices?

like image 247
Megha Avatar asked Jan 17 '23 21:01

Megha


1 Answers

Following is the attribute to restrict application in landscape mode only.

Nokia device:

Nokia-MIDlet-App-Orientation : Landscape

Samsung device:

MIDlet-ScreenMode : Landscape
like image 182
Megha Avatar answered Mar 31 '23 13:03

Megha