You Are Here:

Community: Developer Discussion Boards

#1 Old Check foreground app - 2007-09-16, 23:01

Join Date: Jan 2007
Posts: 24
giogiogio
Offline
Registered User
Hi.

i've this code:
Code:
def show():
    appswitch.switch_to_fg(u'Phone')
    if appswitch.application_list(0)[0] == 'Phone':
        screen.show() #show a TopWindow image
but i want to check every time which is the foreground application,and if appswitch.application_list(0)[0] == 'Phone' then screen.show() , elif appswitch.application_list(0)[0] != 'Phone' then screen.hide() .
how i could??

THK
Reply With Quote

#2 Old Re: Check foreground app - 2007-09-17, 14:28

Join Date: Jan 2007
Posts: 24
giogiogio
Offline
Registered User
when my apps is in backgound,how i could check every time wich is the foregroun application??

please,help me!!!
Last edited by giogiogio : 2007-09-18 at 14:34.
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
How to filter keypress belonging to foreground app Donnieng General Symbian C++ 1 2007-07-09 05:09
How to bring my app to foreground when it is on background with press a key ?? jend_rommel General Symbian C++ 1 2006-04-27 19:10
App crash problem - how to figure out why? neomedia General Symbian C++ 1 2005-02-07 17:22
Capturing keys while in foreground... scorpion1234 General Symbian C++ 0 2003-03-25 15:49
7650 - go back, close my app not closing the container app geran Digital Rights Management & Content Downloading 1 2002-12-05 10:58

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