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

Posts: 34
Registered: ‎10-05-2010
My Device: simulator 9550

Re: How can I create a MenuItem

The first code I use with os 5 and works with os 6. If you develop with os 5 it will work with 5 and later.
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How can I create a MenuItem

here is a simple menu, to be used in the makeMenu method (replace menu.add with addMenu to use it in the mainscreen directly).



menu.add(new MenuItem("Menutitle", 320000, 1000) {
	public void run() {
		//do stuff here


 i linked you the article with all the details, read it to understand menu items better (and what 320000 and 1000 might mean).


feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter