2010-07-13 2 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

спасибо..и работает. – amit

+0

У меня есть вопрос об этом. Что произойдет, если устройство перезагрузится? Запланированное приложение будет запущено или необходимо запланировать его снова? – lluismontero

+0

необходимо запланировать его снова – amit

Смежные вопросы