Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Capturing resource change events when application is not in focus

    We are trying to capture resource change events for an AVKON application that is not in focus. When the application is in focus, we are able to capture the event through HandleResourceChangeL(). However, the method will not be invoked when the application is not in focus. Is there any way for the application to capture resource change events when the application is not in focus?

  2. #2
    Nokia Developer Expert
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425

    Re: Capturing resource change events when application is not in focus

    Hello,

    I have used that HandleResourceChange method and it is called even if the application is on the background.

    If you still have problem to get the event you could try to overwrite the method CAknAppUi::HandleWsEventL and trace what happen before HandleResourceChange should be called. Overwrite the method, launch application to background and place breakpoint there, change resolution of the emulator and check if you hit to the breakpoint. Hope this helps somehow.

    Br V

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Re: Capturing resource change events when application is not in focus

    Hi,

    Thanks a lot your suggestion. I can receive the focus change events by overriding CAknAppUi::HandleWsEventL now.

Similar Threads

  1. change focus
    By f_alonso_1 in forum Symbian
    Replies: 0
    Last Post: 2003-07-17, 13:34
  2. Change RESOURCE MENU_BAR
    By pratbrat77 in forum Symbian
    Replies: 2
    Last Post: 2003-07-11, 17:56
  3. Get focus to an application
    By dilanr in forum Symbian
    Replies: 1
    Last Post: 2002-12-05, 12:35
  4. how to change the bluetooth device name through application
    By amitagrawal78 in forum Bluetooth Technology
    Replies: 1
    Last Post: 2002-10-18, 06:49
  5. Is it possible to change font siz ein PJava application of Nokia 9210?
    By Nokia_Archive in forum Mobile Java General
    Replies: 1
    Last Post: 2002-05-24, 17:16

Posting Permissions

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