Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor stegemann's Avatar
    Join Date
    May 2009
    Posts
    146
    When running my application on a Nokia N97 and I get a text message the standard text message notification doesn't show. The Symbian Signed Test Critera says that I need to show notification on new text messages. How can I make my application show the notification for new incoming text messages?

    Thanks!

  2. #2
    Regular Contributor Fernan82's Avatar
    Join Date
    May 2010
    Posts
    56
    What does your application do? Is it because you're playing a sound or something in full screen so you can't see or hear the message indicator? If that's the case you want to look at QMessageManager, it has a messageAdded() signal that fires anytime a message is added to any folder, the following code will make it fire only when a message is added to the inbox (incoming message):

    Code:
    QMessageManager* mm = new QMessageManager( this );
    mm->registerNotificationFilter( QMessageFilter::byStandardFolder( QMessage::InboxFolder ) );

  3. #3
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,299
    Yes ,
    You can set the message receive notification using Qt mobility API.

    The article is given below Check it.:

    http://wiki.forum.nokia.com/index.ph...ng_Qt_Mobility

    Best regards,

  4. #4
    Regular Contributor stegemann's Avatar
    Join Date
    May 2009
    Posts
    146
    Quote Originally Posted by Fernan82 View Post
    What does your application do? Is it because you're playing a sound or something in full screen so you can't see or hear the message indicator?
    I get the new-message-sound it is just the notification/popup that doesn't show. My application is just running in fullscreen with showMaximized(). No sound or anything like that.

    But I use the following code to hide the status bar (maybe that has something to do with the popup doesn't show?):
    Code:
    //Hide statuspane
    CEikStatusPane* showMaximized();= STATIC_CAST( CAknAppUi*, CEikonEnv::Static()->EikAppUi())->StatusPane();
    statusPane->SwitchLayoutL(R_AVKON_STATUS_PANE_LAYOUT_EMPTY);
    I don't know about Qt apps but is it standard that the sms notification is not showing in the apps?

  5. #5
    Regular Contributor Fernan82's Avatar
    Join Date
    May 2010
    Posts
    56
    Quote Originally Posted by stegemann View Post
    I don't know about Qt apps but is it standard that the sms notification is not showing in the apps?
    I my phone the popup doesn't show when I have an app running, but I can hear it and see the icon on the status bar so I would think that's why your app won't pass the test but I'm pretty new to Symbian and haven't yet submitted an app for testing.

    Perhaps if you blink the status bar a few times when a message comes in (if you don't want it on all the time) that may be enough to pass the test but don't take my word for it, I would contact Symbian Signed or post on their forums to get a better answer.

Similar Threads

  1. Working on emulator but not on the phone!!!
    By bravvve in forum Symbian C++
    Replies: 7
    Last Post: 2009-09-23, 06:01
  2. Replies: 0
    Last Post: 2009-01-15, 04:10
  3. Problem with Cabride.c++ v1.1
    By markovuksanovic in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2007-01-24, 20:05
  4. send text file to message
    By khemarak_168 in forum Symbian C++
    Replies: 3
    Last Post: 2007-01-22, 05:41
  5. Inserting body text into new email message
    By mucky021 in forum Symbian C++
    Replies: 4
    Last Post: 2005-03-31, 09:39

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