Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User sevdotcom's Avatar
    Join Date
    Dec 2010
    Posts
    34
    Hi,

    I need to display a message to the user from my application which is running in the background. What would be the simplest way to do that? I am building my app with Qt 4.6 and S60 5th edition sdk.

    Thanks

  2. #2
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    there is more then one way of doing this .. i prefer using Symbian Native Dialogs in Qt (for now as i donot care about other platforms right now) one example is http://wiki.forum.nokia.com/index.ph...ogs_in_Qt_Apps

    Ideally you should be using a separate EXE to show your dialogs

  3. #3
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,293
    Quote Originally Posted by sevdotcom View Post
    Hi,

    I need to display a message to the user from my application which is running in the background. What would be the simplest way to do that? I am building my app with Qt 4.6 and S60 5th edition sdk.

    Thanks
    Hi,

    You can generate dialog using the different class of Qt,
    As, one example is QProgressDialog : http://wiki.forum.nokia.com/index.ph...ProgressDialog

    See the above example ,means how the dialog is generated.

    Best regards,

  4. #4
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    Quote Originally Posted by rahulvala View Post
    Hi,

    You can generate dialog using the different class of Qt,
    As, one example is QProgressDialog : http://wiki.forum.nokia.com/index.ph...ProgressDialog

    See the above example ,means how the dialog is generated.

    Best regards,
    hi can you explain me how it is related to
    I need to display a message to the user from my application which is running in the background.

  5. #5
    Nokia Developer Moderator achipa's Avatar
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327
    Quote Originally Posted by sevdotcom View Post
    I need to display a message to the user from my application which is running in the background. What would be the simplest way to do that? I am building my app with Qt 4.6 and S60 5th edition sdk.
    Have you tried good old http://doc.qt.nokia.com/4.7-snapshot/qmessagebox.html ? I would assume a QMessageBox::alert(..) should work that way (it does on Maemo and the desktop platforms).

  6. #6
    Registered User sevdotcom's Avatar
    Join Date
    Dec 2010
    Posts
    34
    Hi Skumar,

    Thanks for the reply. What are the other ways of doing this. I tried using the Symbian dialogs instructions but run into some issues.

    Thank you again

  7. #7
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    as suggested
    Ideally you should be using a separate EXE to show your dialogs
    You can also create dialog in your backgroud application to show.

  8. #8
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    Code:
    	TApaTask task(mVreeEikonEnv->WsSession( ));
    	task.SetWgId(mVreeEikonEnv->RootWin().Identifier());
    	task.BringToForeground();
            QMessageBox msg = new QMessageBox(this);
            <initialize QMessageBox>
            int reply = msg ->exec();
            <handle reply>
            task.SendToBackground();

Similar Threads

  1. Message Sending Popup
    By giaviv in forum Mobile Java General
    Replies: 10
    Last Post: 2010-04-13, 12:04
  2. new message popup dialog
    By cool_ranjeet in forum Symbian C++
    Replies: 11
    Last Post: 2009-11-05, 16:06
  3. Replies: 1
    Last Post: 2007-12-02, 17:34
  4. popup message with 7650
    By barmal in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-02-05, 16:53
  5. broadcasting message system and receiver filter system
    By Nokia_Archive in forum Smart Messaging
    Replies: 1
    Last Post: 2002-05-20, 13:23

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