I want to schedule my application.
+3
A:
try this
// Get the current application descriptor.
ApplicationDescriptor current = ApplicationDescriptor
.currentApplicationDescriptor();
// Schedules are rounded to the nearest minute so ensure the
// application is scheduled for at least 1 minute in the future.
ApplicationManager.getApplicationManager().scheduleApplication(
current, System.currentTimeMillis() + 60001, true);
For more details you can read this article also. Schedule an application to run at a specific time
Vivart
2010-07-13 11:25:58
thanks..it works.
amit
2010-07-14 10:32:31
I have a question about this. What happens if the device is rebooted? The scheduled application will be launched or is necesary to schedule it again?
lluismontero
2010-10-20 14:40:36