×

Discussion Board

Results 1 to 2 of 2

Thread: Exit handler

  1. #1
    Regular Contributor
    Join Date
    Sep 2007
    Posts
    72

    Exit handler

    I am having problem using the exit handler and implementing it as a function.Can any one please provide me a code for the same..

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,795

    Re: Exit handler

    Hello Rabaf

    Hopefully you were looking for the following code

    Code:
    def exit_key_handler():
        app_lock.signal()
    
    #The exit_key_handler function can be called here to exit.
    
    app_lock = e32.Ao_lock()
    appuifw.app.exit_key_handler = exit_key_handler
    app_lock.wait()
    Hope that helps
    Pankaj Nathani
    www.croozeus.com

Similar Threads

  1. why my does not exit on N73 when i push exit soft key?
    By byronlilu in forum Mobile Java General
    Replies: 2
    Last Post: 2007-06-28, 21:29
  2. Tool exit status codes on "make"
    By newnb in forum Symbian
    Replies: 0
    Last Post: 2006-10-02, 21:55
  3. N70 Reset bug
    By sebboB in forum General Development Questions
    Replies: 2
    Last Post: 2005-12-28, 23:09
  4. UNDESIRED Exit command key.
    By tektronic in forum Mobile Java General
    Replies: 4
    Last Post: 2005-05-13, 18:27
  5. 7650 Exit() vs User::Exit(0)
    By mikebrin in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2003-05-26, 15:35

Posting Permissions

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