You Are Here:

Community: Developer Discussion Boards

#1 Old Exiting to the shell - 2008-03-30, 02:48

Join Date: Feb 2008
Posts: 5
whayman.jw
Offline
Registered User
Hi, I'm having a lot of difficulty figuring out what I'm doing wrong..

Basically when my application exits it returns to the phone's application menu rather than exiting to the shell, the previous version of my app did return to the shell and that is the behaviour of the example apps, however I can't see what I've done that would change this behaviour.

I've included my source code which is a bit long but I don't know where to start, I've just started learning OO concepts so it could be any number of things.

Thanks in advance.

Source Code - http://rafb.net/p/HXzjwn96.html
Reply With Quote

#2 Old Re: Exiting to the shell - 2008-03-30, 15:59

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Online
Forum Nokia Champion
Hello,

I haven't tried your script on a device but I strongly believe the problem is in line 45 (appuifw.app.set_exit()). By giving the set_exit() instruction you tell the Python interpreter to close (and thus you are returned to the phone's menu). Remove that line and leave only self.app_lock.signal(). That should make it close and return you to the Shell.

Again, I haven't tested it, so I'm sorry if it's not the answer you were looking for. Let us know if it works
Reply With Quote

#3 Old Re: Exiting to the shell - 2008-03-30, 19:22

Join Date: Feb 2008
Posts: 5
whayman.jw
Offline
Registered User
Hey Bogdan,

Thanks for your help, I commented it out and it worked.

-James
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
Nokia NFC shell and PN531 communication rudieschonenberg Near Field Communication 33 2007-11-17 08:09
Nokia 5140, GPS Shell and JSR179 (Location/GPS API) hziegler Mobile Java General 18 2007-03-15 08:41
Can't read RFID Tag with NFC Shell begermic Mobile Java Tools & SDKs 5 2007-02-01 00:02
NFC Shell mpcoloma General Discussion 1 2007-01-31 11:34
weird text shell problem jzxu Symbian Tools & SDKs 0 2006-12-03 22:09

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