Archived:Notifications API: Setting up support for Notifications UI
This article demonstrates how to set up support for using the Notifications UI in your Qt application.
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.
Notifications API has a separate Notifications UI application that applications can use a launcher. To use it you must enable it in your application.
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.
Notifications UI video
The following video shows how you can use the Notifications UI in your applications.
The media player is loading...