01-14-2009 10:34 AM
Simple method: You can look at Display.getWidth() and Display.getHeight() to determine the current orientation.
Or, you can use the Accellerometer interface. See the API docs.
01-14-2009 01:04 PM
Actually I want,whenever BB device will rotate ,my application will be lisetened.So for this case is there any RIM istener?
or I will check all the time in seperate thread,the current width and height of scrren.In this way u r saying to do it.?
01-16-2009 01:50 PM
Thanx for you help.But another problem i m facing,that animation (Rotation)doesn't occurring from LandScape mode to portrait mode or vice versa.I m using storm9500.How can it will be possible?
01-20-2009 01:51 PM