Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Member
Posts: 1
Registered: ‎10-31-2012
My Device: Blackberry Torch 9810
My Carrier: DOCOMO

Lock Screen Orientation in Application ported from J2ME to Blackberry

I am trying to port my j2me application to Blackberry (using BB JDE 7.1). My application works fine in blackberry, But I am not able to lock the screen orientation in blackberry.

I am using LWUIT lib. I was using "Nokia-MIDlet-App-Orientation: " to lock the application for Nokia devices. But this won't work for Blackberry devices. 

I have tried "MIDlet-App-Orientation:" and some small modification in the midlet. But didn't work for blackberry.

Is there any way to lock the orientation for Blackberry devices ?