Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 2
Registered: ‎11-18-2009
My Device: Not Specified

AlertListener Behavior

I developing an application that uses the AlertListener APi for version 5.0.

 

I am looking for a way to receive a notification on all alerts on the device, does AlertListener provides this functionality?

 

In other words, does AlertListener works to listen for all alerts globally on the blackberry device? Or just the alerts generated by your own app?

 

Regards

Developer
Posts: 265
Registered: ‎08-27-2009
My Device: Not Specified

Re: AlertListener Behavior

AlertListener you mean a Alarm application.......if its that then u can see the following sampe or a snipet.........

ApplicationDescriptor Descri = ApplicationDescriptor.currentApplicationDescriptor(); 
args[0] = argsValue;
ApplicationDescriptor newdescriptor = new ApplicationDescriptor(Descri, args);
ApplicationManager.getApplicationManager().scheduleApplication(newdescriptor,l, true);          
            System.exit(0);