Welcome!

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

Reply
New Developer
Posts: 8
Registered: ‎10-25-2012
My Device: Blackberry 9790
My Carrier: STC

add static menu

Hi All

 

 

how to add menu that appear even the program not running

 

just when you hit blackberry button in the kaybad the menu appear

 

I see many program do that

 

 

 

Developer
Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: add static menu

you can take a look at this class, it shows the different options:
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/menuitem/ApplicationMenuIt...

you register an applicationmenuitem, for example with an autorun part, which can be available in different contexts, see the link above.
----------------------------------------------------------
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