×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    179

    Application Background/Foreground event

    Hi everyone,

    I want to keep track of each application running on phone.

    Is there any observer or notifier so that my application will get notified whenever any application comes alive or comes to a foreground?

    I want to find out which application is coming to foreground through my application? Is this possible... please give me some hints.

    Thanks in advance.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Application Background/Foreground event

    Wiki has full exmaple on focus monitoring, so have a look into there.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    3

    Cool Re: Application Background/Foreground event

    Quote Originally Posted by NevePankaj View Post
    Hi everyone,

    I want to keep track of each application running on phone.

    Is there any observer or notifier so that my application will get notified whenever any application comes alive or comes to a foreground?

    I want to find out which application is coming to foreground through my application? Is this possible... please give me some hints.

    Thanks in advance.
    You Get whether Particular application is running by using:


    TApaTaskList tasklist(iCoeEnv->WsSession());
    TApaTask task(tasklist.FindApp(AppFileName));
    TBool tbool = task.Exists();

  4. #4
    Regular Contributor
    Join Date
    Feb 2008
    Location
    Pune, India
    Posts
    340

    Re: Application Background/Foreground event

    Hi Pankaj,

    To capture "foreground application change" events, please check this link.

    I hope it helps!
    Last edited by ssn.kishore; 2008-09-05 at 09:49.
    Regards,
    Sainagakishore Srikantham (Kishore)

    Don't Hope, KNOW!!! ---------- Visit me at http://ssnkishore.blogspot.com ----------

Similar Threads

  1. AutoStart My application at bootup
    By prakashs in forum Symbian
    Replies: 7
    Last Post: 2009-03-24, 10:06
  2. Replies: 11
    Last Post: 2008-05-23, 08:10
  3. Replies: 1
    Last Post: 2008-05-08, 12:32
  4. How can the WAP browser communicate to J2ME application?
    By hbfornies in forum Mobile Java General
    Replies: 20
    Last Post: 2007-03-02, 16:32
  5. Run java application by call event.
    By vity-ok in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-02-06, 11:01

Posting Permissions

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