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,
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
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
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,
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).
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
as suggestedYou can also create dialog in your backgroud application to show.Ideally you should be using a separate EXE to show your dialogs
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();