×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    24

    Check foreground app

    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

  2. #2
    Registered User
    Join Date
    Jan 2007
    Posts
    24

    Re: Check foreground app

    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 13:34.

Similar Threads

  1. Replies: 1
    Last Post: 2007-07-09, 04:09
  2. Replies: 1
    Last Post: 2006-04-27, 18:10
  3. App crash problem - how to figure out why?
    By neomedia in forum Symbian
    Replies: 1
    Last Post: 2005-02-07, 16:22
  4. Capturing keys while in foreground...
    By scorpion1234 in forum Symbian
    Replies: 0
    Last Post: 2003-03-25, 14:49
  5. 7650 - go back, close my app not closing the container app
    By geran in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2002-12-05, 09:58

Posting Permissions

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