Create a simple notification
Create simple notification with defined title
// PRIVILEGE needed to be set in tizen-manifest.xml:
// http://tizen.org/privilege/notification
#include <notification.h>
void
create_notification(char* text) {
notification_h notification = NULL;
notification = notification_create(NOTIFICATION_TYPE_NOTI);
if(notification != NULL) {
notification_set_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, text, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
notification_post(notification);
}
}