2010-07-13 92 views

回答

6

試試這個

// 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); 

有關詳細信息還可以閱讀這篇文章。 Schedule an application to run at a specific time

+0

thanks..it works。 – amit 2010-07-14 10:32:31

+0

我對此有疑問。如果設備重新啓動會發生什麼?預定的應用程序將會啓動還是需要重新安排? – lluismontero 2010-10-20 14:40:36

+0

需要再安排一次 – amit 2010-11-09 10:14:28