An event triggered a menu button on a Nokia touch device

I made a J2ME application (2D game) for a Nokia touch device like C7, N8 etc. When I press the menu button while the gameplay is on, I get to the main screen on the device, but in the background the game is still playing. Can someone tell me which event is triggered by the press of a menu button and any possible solution to this problem?

+3
source share
2 answers

Canvas.hideNotify()called when the midlet goes into the background, see this article as well

+1
source

Call player.stopPlayer()in hideNotify()canvas method. Probably the Canvas game of your application.

showNotify() .

+2

All Articles