×

Discussion Board

Results 1 to 14 of 14

Hybrid View

  1. #1
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    about HandleWsEvent method

    hi

    i have implemented the HandleWsEvent method for my application to get the notification, as soon as a new application gets started.
    it is working fine if the application is in focus. But, if the application is running but is not in focus, it does not get any notification.

    can anyone suggest what could be the problem?

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,348

    Re: about HandleWsEvent method

    You mean that when non-gui app started you don't receive notification? That's because it don't create window group.
    In this case you can try to monitor active processes and then if you have a new one - handle this event.

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

    Re: about HandleWsEvent method

    Background applications generally do not need HandleWsEvent's, so could you tell us what it is that you would want to catch ?

  4. #4
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: about HandleWsEvent method

    not a non-gui application
    a GUI application should be notified to my application

  5. #5
    Super Contributor
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346

    Re: about HandleWsEvent method

    did you want to known a new gui app started event, and maybe the new gui app not is focused gui, if yes, it maybe not in HandleWsEevnt, it seems not api for the purpose, or monitor TApaTaskList.
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  6. #6
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: about HandleWsEvent method

    no sir

    that is want notification about a just started GUI application is right.

    but i want it even if my application is not in focus...

    i hope now u got me

  7. #7
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: about HandleWsEvent method

    no no not a non-gui application
    a GUI application should be notified to my application

Similar Threads

  1. What is happening in InputStream.Skip method?
    By orsteglasy in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-03-02, 19:34
  2. Is switching to another Canvas inside a paint() method OK?
    By falconpl in forum Mobile Java General
    Replies: 2
    Last Post: 2006-05-06, 00:15
  3. Methods, that take lots of space
    By doctordwarf in forum Mobile Java General
    Replies: 4
    Last Post: 2003-07-30, 11:05

Posting Permissions

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