Comment puis-je obtenir une notification de tableau de bord dans mon application Palm-Pre?Notification Palm Pre Dashboard
0
A
Répondre
4
Une notification de tableau de bord est juste une autre vue de l'application. Les panneaux du tableau de bord sont traités dans la documentation de Mojo SDK au http://developer.palm.com/index.php?option=com_content&view=article&id=1632.
0
Appel this.notify() et déclarer notify() comme suit
YourAssistant.prototype.notify = function(custom,event) {
console.log("################# NOTIFY ############")
var target = custom;
var appController = Mojo.Controller.getAppController();
this.controller.commitChanges();
var bannerParams = {
soundClass: '',
soundFile: '',
icon: '',
messageText: 'hahaha hahaha'
}
appController.showBanner(bannerParams, {banner: this.message});
}
félicitations pour avoir posé une question claire, détaillée. Je suis sûr qu'il obtiendra des réponses utiles .... ou NON ... –