开发者

Schedule a BlackBerry application

开发者 https://www.devze.com 2023-01-07 03:30 出处:网络
开发者_StackOverflowI want to schedule my application.try this // Get the current application descriptor.

开发者_StackOverflowI want to schedule my application.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消