10-20-2010, 12:40 AM
Join Date: Dec 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | slide open/close disable menu bar
Please Login to Remove!
I am developing the application in which i am going to deploy on Blackberry 9800 device. In one of the screen i need to disable the menu bar. For that i used a Sensor to check whether the SLIDE_OPEN/SLIDE_CLOSE. If the slide is closed then i can able to disable all menus except show/hide keyboard options.
But if the slide is open, its showing EmptyMenu in the menu bar. i want to disable the Empty Menu option when the device is in slide open mode.
protected void makeMenu( Menu m, int ins )
int sliderState = Sensor.getState(Sensor.SLIDE);
Can anybody know how to do this?