I am developing a small blackberry application that contains two "mainscreen" windows. After the user has selected some options in the first, a new ModalScreen is pushed to the stack and is displayed as so.
MyModalScreen _ms = new MyModalScreen();
//continue processing after modal is popped
So far so good.
However, after the user finishes with this ModalScreen (selects the "cancel" button), I remove it with a...
...from within the code of the 2nd screen.
This then removes the ModalScreen, and the user is again presented with the first.
My problem is, after the 2nd screen is popped and the 1st screen appears, the "Menu" always, rather annoyingly, appears. I can get rid of it manually with the "back" button (resuming control to the 1st screen), but I'm sure there must be a better way around it than this?
Thanks for any help!