views:

18

answers:

1

I want to create my own context menu.

When a user clicks the BlackBerry menu button, the menu should open with only my menu items -- and not the 'Hide keyboard' and 'Switch Application' items that are included by default.

A: 
protected void makeMenu(Menu menu, int instance) {
menu.deleteAll();

// add your code here
}

Try this out

rupesh
It didn't help.I still see default items.