×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2013
    Posts
    1

    Question Pause app on screen lock or incoming call.

    Hello everyone.
    Recently, I decided to develop apps for Nokia Asha and I encountered the following problem:
    How to check whether user pressed lock screen button, there's incoming call or similar event?
    I tried pauseApp(), destroyApp(), Command.EXIT, Command.STOP but none of them work.
    Here's a sample:
    Code:
    protected void pauseApp() {
    System.out.println("pauseApp");
    game.paused=true;
    }
    Cheers.

    @edit:
    Found answer here: http://developer.nokia.com/Community...-doesn-t-work)
    Last edited by Furfel; 2013-10-20 at 19:40.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,752

    Re: Pause app on screen lock or incoming call.

    According to http://developer.nokia.com/Community...the_background there is a hideNotify - I do not know its validity as the article itself is really old (2007), but there is some discussion at the end from this year.

Similar Threads

  1. Replies: 10
    Last Post: 2010-03-24, 09:51
  2. Nokia N79, screen does not switch off after incoming call
    By shubho1985 in forum General Development Questions
    Replies: 1
    Last Post: 2009-12-01, 08:30
  3. Replies: 16
    Last Post: 2009-07-11, 21:23
  4. Replies: 3
    Last Post: 2009-03-31, 12:05
  5. The game for Vodafone does not pause no incoming call.
    By jojoq in forum Mobile Java General
    Replies: 1
    Last Post: 2004-08-10, 12:44

Posting Permissions

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