Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor forumz's Avatar
    Join Date
    Feb 2009
    Posts
    53
    Python 1.45 running on N78 v30 Rom, using appuifw.app.set_exit() to quit program, the program hangs up. The only way to close the program is using Jbak taskman to terminate it.

    But there's no such thing happens with N78 old rom.

    Is there any solutions? Thanks

  2. #2
    Nokia Developer Champion gaba88's Avatar
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,701
    Quote Originally Posted by forumz View Post
    Python 1.45 running on N78 v30 Rom, using appuifw.app.set_exit() to quit program, the program hangs up. The only way to close the program is using Jbak taskman to terminate it.

    But there's no such thing happens with N78 old rom.

    Is there any solutions? Thanks
    hello forumz

    it will be great if you show us a bit of code.

    Moreover to what event you are assigning the appuifw.app.set_exit() callback function??

  3. #3
    Regular Contributor forumz's Avatar
    Join Date
    Feb 2009
    Posts
    53
    Here is the code:
    Code:
    def myexitfunc():
        'prevent red button pressing'
        s = appuifw.app.screen
        appuifw.app.screen = 'large'
        appuifw.app.screen = s
        script_lock.wait()
    
    def exit_app():
        'exit application'    
        sys.exitfunc = lambda: None
        script_lock.signal()
        appuifw.app.set_exit()
    
    script_lock = e32.Ao_lock()
    sys.exitfunc = myexitfunc

  4. #4
    Regular Contributor forumz's Avatar
    Join Date
    Feb 2009
    Posts
    53
    N78 v30 rom , Python 1.45

    When misty is imported, using appuifw.app.set_exit() or sys.exit() to quit the program will hang up.

Similar Threads

  1. Problem with CAknDoubleStyleListBox with a CAknSearchField
    By jjig in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-09-17, 00:58
  2. SyncML link problem
    By samuel_ in forum Symbian C++
    Replies: 4
    Last Post: 2009-03-27, 08:02
  3. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  4. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  5. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

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