I am developing tizen wearable webapp for gear s2, In that I want to display notification and my code is as follows:
$scope.noti= function(){
try {
var appControl = new tizen.ApplicationControl(
"http://tizen.org/appcontrol/operation/create_content",
null,"text/html",null);
var notificationDict = {
content : "New Task Arrived.",
iconPath : "resources/images/TaskWatch.jpg",
vibration : true,
appControl : appControl
};
var notification = new tizen.StatusNotification("SIMPLE",
"Notification", notificationDict);
tizen.notification.post(notification);
} catch (err) {
console.log (err.name + ": " + err.message);
}
}
But the problem is that contents not displying in notification, But notification name is displaying properly.
Thanks in advance..