Notifications API: Setting up support for Notifications UI
Article Metadata
This article demonstrates how to set up support for using the Notifications UI in your Qt application.
Introduction
The Notifications API lets you add real-time push notifications to your client applications running on Nokia devices. It includes a Service API, which provides access to the Nokia Notification Server through an HTTP REST interface, as well as a Client API, which allows applications on the device to register and receive notifications from the Nokia Notification Server. The Client API is available for Qt on Symbian and MeeGo devices. You can get more information on this Project Notifications UI
Notifications API has a separate Notifications UI application that applications can use a launcher. To use it you must enable it in your application.
iNotificationInterface->setWakeUp(true);
iNotificationInterface->setNotificationUi(true, iIconData);
setNotificationUi(true, icondata) requires to have the icon data encoded in Base64 format. Converting the icon data into Base64 string can be done easily as described in the following code snippet.
QImage image;
//load image from resource file
image.load(":/images/icon.png");
QByteArray imageData;
QBuffer buffer(&imageData);
//Write qimage to buffer in PNG foramt
image.save(&buffer, "PNG");
QString iconData = QString::fromLatin1(imageData.toBase64().data());
setNotificationUi(true, iconData);
Notifications UI video
The following video shows how you can use the Notifications UI in your applications.
The media player is loading...


please add more information about articles and also add more guidance with some more code , images, videos and link if any.