How to open Commands menu from an application?
I am developing a FullCanvas game.
I would like it respond to SoftKey_1 press by showing menu very similar to normal Canvas menu (like you can see in Snake Ex game).
I came to an idea of switching to a normal Canvas, painting it like main FullCanvas and then showing menu.
However, user have already pressed SK_1 before screens switching. I don't want him to press it one more time to actually show the menu. Is there a way to request showing menu from a program?
Draw your own softkeys on the fullcanvas or just capture the softkeys in the keypressed method when using canvas.
public void keyPressed(int keyCode)
// any softkey key-press exits
if ((keyCode == KEY_SOFTKEY1) || (keyCode == KEY_SOFTKEY2) ||
(keyCode == KEY_SOFTKEY3))
nmittal, I am doing so. Capturing SKs if of no problem.
After capturing it on FullCanvas, I switch to another normal Canvas AND NOW I should show menu.
User has already pressed SK, I don't want him to press it one more time.
Snake Ex on S60 is a Symbian application.
nmittal, thank you for attention to this topic
Yes, I know that Snake Ex is a Symbian app. I explained all the stuff just to tell why do I need manual menu showing.
The question is rather local: Is there a way to request showing Commands menu?
If there is, then I will make my game menus similar to Snake's. Of course not same, but similar looking