| Reply | « Previous Thread | Next Thread » |
|
I make a game for 3410 and I put in pauseApp() the code for stopping the game. But the method is never called when I receive a phone call ...
Why? |
|
Hi,
PauseApp() is not called automatically in the case of the incoming call. You can use hideNotify() from Canvas class to handle incoming calls and pausing the application. The implementation is calling the hideNotify() method when the incoming call occurs and the Canvas has been removed from the display. The default implementation of this method in class Canvas is empty so you need to write it to your application (see below). From that method you can call pauseApp() if needed or you can handle the pausing some other way. public void hideNotify() { //Do here what needed } regards, Petri/Forum Nokia |
|
?
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|