×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2010
    Location
    Finland
    Posts
    91

    How to detect focus lost (example when phone call coming)?

    Hey, I have this simple questin, how do I handle in my game that it goes to pause mode when phone call is coming.

    I tried this,

    http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian

    but didn't seem to do anything with my N8?

    Thanks

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How to detect focus lost (example when phone call coming)?

    it did work for me just fine. Thus did you define your own QApplication derived class in which you implemented the function, as well as in your main, are you using that application class of yours ?

    here's an example that I used the code: http://wiki.forum.nokia.com/index.php/File:GoomTest.zip

  3. #3
    Registered User
    Join Date
    Nov 2010
    Location
    Finland
    Posts
    91

    Re: How to detect focus lost (example when phone call coming)?

    Quote Originally Posted by symbianyucca View Post
    it did work for me just fine. Thus did you define your own QApplication derived class in which you implemented the function, as well as in your main, are you using that application class of yours ?

    here's an example that I used the code: http://wiki.forum.nokia.com/index.php/File:GoomTest.zip
    Don't know what I'm doing wrong, but nothing happens even when I copied the myapplication and main files to my project.
    Don't even get the qDebug information to my Qt creator..

  4. #4
    Registered User
    Join Date
    Nov 2010
    Location
    Finland
    Posts
    91

    Re: How to detect focus lost (example when phone call coming)?

    Sorry, this was my bad. The game didn't update in my phone for some reason, and now after uninstalling it worked just fine.

Similar Threads

  1. How to auto hangup when coming a call?
    By jiaopenlzp in forum Symbian
    Replies: 9
    Last Post: 2009-06-13, 02:37
  2. How to detect Connection lost Status
    By mohhassan in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2008-12-29, 07:35
  3. when a call coming how can i know it?
    By chinazou305 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2002-11-22, 10:04
  4. Replies: 0
    Last Post: 2002-09-17, 06:41

Posting Permissions

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