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
Highlighted
Contributor
Posts: 18
Registered: ‎05-17-2012
My Device: NA
My Carrier: NA

Scheduling and Snooze feature in Blackberry

Is it possible to schedule an application to start at a particular time every day and stop after certain period of time defined by user .  I need to implement Snooze feature also.Is it possible in BB . Please guide me ASAP .

Super Contributor
Posts: 278
Registered: ‎11-04-2010
My Device: 4.5 and above
My Carrier: none

Re: Scheduling and Snooze feature in Blackberry

Hi,

yes, you can do that.

String[] args = {"snooz"};
ApplicationManager.getApplicationManager().scheduleApplication(new ApplicationDescriptor(ApplicationDescriptor.currentApplicationDescriptor(), args), System.currentTimeMillis(), true);

you can set alternate entry point and schedule using ApplicationManager

Regards,
pp