Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User gorisis's Avatar
    Join Date
    Apr 2012
    Posts
    2
    Hi all,

    Maybe someone can tell me if the usage of CAknGlobalMsgQuery (global message query) is compatible with the usage of vibration (CHWRMVibra)

    What I am trying to achieve is the following:

    - application runs in the background; it generates a message I want to be notified for;
    - application shows the message with CAknGlobalMsgQuery;
    - application makes the phone (Nokia 700 with Belle) vibrates until I acknowledge the message by hiting the OK button;
    - application makes the keys blink;

    Currently, I've tried to put the vibration logic in another thread; I have also tried to use a timer; but the device won't vibrate.

    I'm successful when I make it vibrate briefly just before showing the global query. And usage to CHWRMLight is no problem. The keys blink until I close the global query. It's the vibra which I find difficult.

    Thx,
    --
    Issa

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    Could indeed be that since the global note is causing your application to lose focus, the vibra will be efeccted, thus, you should nto use Global notes, but instead you the ones which are shown inside your application window, i.e. the ones not having word Global in them.

  3. #3
    Registered User gorisis's Avatar
    Join Date
    Apr 2012
    Posts
    2
    Thx for your reply symbianyucca.

    The vibra works if I launch it for a short period and before showing the global query, and even if the application is in foreground or background. Does the focus explanation you mentioned still valid in this case ?

    I chose global query because I might be using the home screens or any other apps and do not want to miss notifications from the background app.

    Thx for your help

Similar Threads

  1. Help with global confirmation Query
    By keerthi.ck06 in forum Symbian C++
    Replies: 15
    Last Post: 2010-06-21, 17:39
  2. Global Query Progress bar
    By Digish in forum Symbian C++
    Replies: 7
    Last Post: 2009-10-07, 07:24
  3. Global Text Query Dialog
    By mobifunsoft in forum Symbian C++
    Replies: 4
    Last Post: 2008-11-25, 10:11
  4. Global password query
    By chirumar in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-06-13, 12:00
  5. Softkeys in Global query msg dialog
    By nitinkumar in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-04-16, 20:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved