You Are Here:

Community: Developer Discussion Boards

#1 Old 3410 pauseApp() - 2002-07-29, 07:22

Join Date: Mar 2003
Posts: 4
mihai128
Offline
Registered User
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?
Reply With Quote

#2 Old RE: 3410 pauseApp() - 2002-07-29, 07:59

Join Date: Mar 2003
Posts: 46
petri24
Offline
Registered User
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 With Quote

#3 Old RE: 3410 pauseApp() - 2002-07-29, 15:18

Join Date: Mar 2003
Posts: 4
mihai128
Offline
Registered User
?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia