×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Sep 2007
    Posts
    72

    Quit the Application

    I have made a SIS file for 1st time using ensymble from a python script that runs perfect on my device.

    I am facing many problems with the applications which were not faced in the script.

    The Application does not exit as it does in the script and I have to switch off the device.
    There are no print statements that I can see...

    could anybody wellversed have a say on this.

    Thanks in advance.

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

    Re: Quit the Application

    Hi,

    Well its normal that you face such problem while your running first created sis. The exit handler works perfectly in interpreter but the application hangs while exiting in the real application (SIS)

    Here is the solution for you

    In the exit handler you must call appuifw.app.set_exit() for exiting completely (from the embedding Python Shell !)
    set exit()
    Requests a graceful exit from the application as soon as the current script execution returns.
    Other thing is the print statements don't show up as there is no console in the application.
    Here is a solution:
    Code:
    t=appuifw.Text()
    appuifw.app.body=t
    t.add(u'This will work!')
    Hope this helps,

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

Similar Threads

  1. Problems with a signed application
    By Alfury in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2008-03-27, 05:15
  2. Launching a view of a diffrent application
    By nsivach in forum Symbian
    Replies: 3
    Last Post: 2007-03-22, 09:51
  3. Application without icon in application menu
    By iulian_moldovan in forum Symbian
    Replies: 3
    Last Post: 2006-12-14, 09:38
  4. Replies: 0
    Last Post: 2005-05-28, 10:20

Posting Permissions

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