Receiving a phonecall on the Nokia 7650 crashes my midlet
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ed_Howson
Posted On:   Friday, August 23, 2002 08:27 AM

We are writing a game with a Thread which basically renders graphics with repaint() and then calls serviceRepaints() and callSerially(). However we have a problem when there is a phone call on the 7650 which interrupts the game. After the call is taken the game continues, but after the game exits it cannot be restarted. Sometimes the application list even goes blank. The problem continues forever and the game can't be run, deleted or reinstalled until the phone is reset! We have a feeling that we may need to handle the pauseApp() function, but we don't know what this should do? Is this called briefly when the app is paused and then another function is called to restart the app? What should this do - pause the game thread? S   More>>

We are writing a game with a Thread which basically renders graphics with repaint() and then calls serviceRepaints() and callSerially().

However we have a problem when there is a phone call on the 7650 which interrupts the game.
After the call is taken the game continues, but after the game exits it cannot be restarted. Sometimes the application list even goes blank. The problem continues forever and the game can't be run, deleted or reinstalled until the phone is reset!

We have a feeling that we may need to handle the pauseApp() function, but we don't know what this should do? Is this called briefly when the app is paused and then another function is called to restart the app?
What should this do - pause the game thread? Sleep? Suspend threads?

   <<Less
About | Sitemap | Contact