Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:How to handle MIDlet sent to the background

From Wiki
Jump to: navigation, search

Asjadazeem - pauseApp() when call comes

How to make sure that my game stops at the call like what to do if I want to resume my game canvas that has been called from midlet and it can be called just once. I have implemented hideNotify() for game canvas and its working but I am unable to findout how to stop a game when call comes, please help I am unable to find help yet!

Thanks in advance!

asjadazeem 21:28, 1 March 2013 (EET)

Hamishwillee - Call stop

Hi

I suggest you check out the examples (or just search on this wiki) for implementations of hideNotify. For example:

    // system soft notification when it is hidden by another app or incoming call.
// it is wise to release resources here, for example, an active media (subtype Player)
public void hideNotify() {
stop();
}

If that doesn't help, then I would suggest you raise the issue on the java discussion boards as this article is many years old and the author many no longer be watching it.

regards

Hamish

hamishwillee 01:47, 4 March 2013 (EET)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×