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
jaybb
Posts: 32
Registered: ‎03-06-2009
My Device: Not Specified

Sub-menu possible?

Is it possible from within an app to add windows-style SUB-MENU options in the menu that shows up when you press the BlackBerry key. I am adding menu options already but I want to provide a menu option like "More [appname] options >" followed by an arrow, and when you press that it should open a submenu with more options just like a Windows right click menu with submenus. 

 

I havent seen that in any app, but I'm wondering if this is possible and if so which Java api to use for it.

Thanks

Jay 

Developer
bikas
Posts: 984
Registered: ‎02-10-2009
My Device: Not Specified

Re: Sub-menu possible?

AFAIK, there is no api to create a submenu.

But you can can make it overriding makeMenu() and using popupscreen from there.

 

Have a look at the threads. You might get some clear idea.

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=23148&query.id=13...

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=24621&query.id=13...

 

Regards

Bikas