添加数据集时似乎出现问题。您是否尝试过第二个项目?它似乎适用于可通过帐户页面下载的最新版本的 Smartface App Studio。
本地通知不会添加到日历/提醒中。这些是特定于应用程序的通知。
首先,您应该创建一个本地通知。
例如;
var localNotification = new Notifications.LocalNotification({
id : id,
fireDate : new Date(),
alertTitle : "AlertTitle",
alertBody : "Alert Body",
smallIcon : "icon_notification_small.png",
launchImage : "icon_notification.png",
sound : "notifsound.mp3",
repeatInterval : Notifications.CalendarUnit.minute,
onReceivedNotification : function (e) {
alert("onReceived");
}
});
它会为您创建一个通知,并在给定日期工作。
如果您想立即显示通知,您应该在下面运行该代码;
Notifications.local.presentNotification(localNotification);