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: 88
Registered: ‎11-04-2008
My Device: Not Specified

Dialog/PopupScreen with Full/Context Menu

Hi All,

 

Does anybody know how to make the Full/Context Menu appear when a Dialog/Popup Screen is displayed?

 

I tried overriding makeMenu(), but still it wouldn't display when i click the Menu key.

 

Please help.

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

Re: Dialog/PopupScreen with Full/Context Menu

popupscreens do not have a menu.
you can try to call makeMenu manually, don't know if it works.

menus are also popup screens
----------------------------------------------------------
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
New Developer
Posts: 88
Registered: ‎11-04-2008
My Device: Not Specified

Re: Dialog/PopupScreen with Full/Context Menu

In BlackBerry 8120, i'm not sure if its the same in other models, but when you go to Camera > Options > Click the Folder button, a sort of Popup Screen or Dialog is displayed. And when the Menu key is clicked, a menu opens up. I want to create something similar to this. Is there a way? Could i possibly make a MainScreen not occupy the whole screen?

Highlighted
Developer
Posts: 1,477
Registered: ‎12-30-2008
My Device: Torch 9810

Re: Dialog/PopupScreen with Full/Context Menu

I have not done this before, but I could give you a suggestion.. You can implement a key listener in the Popup screen you push and when a menu key press is identified, you can push another popup screen..

 

Cheers..

--
Manimaran Selvan
Co-Founder, Tech Lead,
Equity Markets Research Group
New Developer
Posts: 88
Registered: ‎11-04-2008
My Device: Not Specified

Re: Dialog/PopupScreen with Full/Context Menu

Thanks for that suggestion. I was also thinking of doing it that way. I just wanted to verify maybe there might be other ways of solving my problem. Smiley Happy
New Developer
Posts: 50
Registered: ‎03-18-2009
My Device: 8530
My Carrier: Movilnet

Re: Dialog/PopupScreen with Full/Context Menu

Try with this: http://supportforums.blackberry.com/t5/Java-Development/Making-menu-in-PopupScreen/m-p/69003#M7950

// Code for getting Thanks
if( iWasHelpful && solvedYourProblem ) {
Thanks++;
solution = true;
}