×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2005
    Location
    Cordoba, Spain
    Posts
    100

    How to know if user has exit to telefon menu o there is an incoming call?

    Hello,

    How Can I to know if user has exit to telefon menu (for example by pressing red button) o there is an incoming call, in order to stop game.

    Many thanks
    ------------->>>Diluo<<<-------------

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: How to know if user has exit to telefon menu o there is an incoming call?

    You can detect it via HandleForegroundEventL in the AppUi.

  3. #3
    Regular Contributor
    Join Date
    Jun 2005
    Location
    Cordoba, Spain
    Posts
    100

    Re: How to know if user has exit to telefon menu o there is an incoming call?

    Thanks, it works if I there is an incomig call and I ring off , but If I ring up and speak with the other person, my game is closed.

    Many thanks for help


    I use this

    void CskeetAppUi::HandleForegroundEventL( TBool aForeground )
    {
    if( aForeground )
    {
    iAppView->game_stopped=0;
    }
    else
    {
    iAppView->game_stopped=1;
    }
    }
    ------------->>>Diluo<<<-------------

Similar Threads

  1. Replies: 31
    Last Post: 2008-02-13, 16:45
  2. Replies: 2
    Last Post: 2007-11-10, 13:19
  3. N70 Reset bug
    By sebboB in forum General Development Questions
    Replies: 2
    Last Post: 2005-12-28, 23:09
  4. answering an incoming call
    By apitoman in forum Symbian
    Replies: 0
    Last Post: 2004-10-26, 14:17
  5. Replies: 2
    Last Post: 2004-09-15, 22:47

Posting Permissions

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