Discussion Board

Results 1 to 2 of 2

Thread: Exit handler

  1. #1
    Regular Contributor rabaf's Avatar
    Join Date
    Sep 2007
    Posts
    72
    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 croozeus's Avatar
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,650
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved