How can I get Dashboard notification in my Palm-Pre application?
Asked
Active
Viewed 480 times
2 Answers
4
A dashboard notification is just another view in the application. Dashboard panels are covered in the Mojo SDK documentation at http://developer.palm.com/index.php?option=com_content&view=article&id=1632.

Ben Combee
- 16,831
- 6
- 41
- 42
0
Call this.notify() and declare notify() as following
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});
}

iwan
- 7,269
- 18
- 48
- 66