Search code examples
java-melwuit

Change Orientation on the canvas in J2ME


I am developing the video player on the canvas in J2ME . and i want to show the video in the landscape mode if the height is greater then the width of the phone otherwise to show the video in the portrait mode. how can i do this ?
Thanks


Solution

  • Unfortunately you can't dynamically force this in J2ME.

    Some phones contain a jad attribute to force orientation but I'm unaware of those that allow dynamically forcing an orientation.