我想安排我的申请。
答案 0 :(得分: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