You Are Here:

Community: Developer Discussion Boards

#1 Old Quit the Application - 2008-05-18, 08:10

Join Date: Sep 2007
Posts: 69
rabaf
Offline
Regular Contributor
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.
Reply With Quote

#2 Old Re: Quit the Application - 2008-05-18, 08:24

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
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

Quote:
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
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with a signed application Alfury Mobile Java Networking & Messaging & Security 7 2008-03-27 06:15
Launching a view of a diffrent application nsivach General Symbian C++ 3 2007-03-22 10:51
Sending SMS to Emulator through desktop application iqbalaminkhan General Browsing 0 2006-12-22 06:01
Application without icon in application menu iulian_moldovan General Symbian C++ 3 2006-12-14 10:38
Not able to deploy an updated application on the mobile -it deploys a new application kishban Mobile Java General 0 2005-05-28 11:20

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ