BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 06-28-2010, 02:17 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Sep 2009
Model: 9000
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Turn On device is not working on BlackBerry!

Please Login to Remove!

Hi all,
I am using this code to schedule power on BlackBerry devices.

ApplicationManager appManager = ApplicationManager.getApplicationManager();
appManager.setCurrentPowerOnBehavior(ApplicationDe scriptor.POWER_ON);

ApplicationDescriptor ad = ApplicationDescriptor.currentApplicationDescriptor ();
boolean isSchduled = appManager.scheduleApplication(ad, time, true);
if (isSchduled)
System.out.println("Schedule Power ON with Application " + ad.getModuleName() + " For " + time);
System.out.println("Schedule Power ON Failed");

This work on simulators, but is not working on real devices. BlackBerrys are not turned On with this code at scheduled time.

Any suggestions about what may be the reason? If there is another way to power on the device then please help me?

Empower your BlackBerry

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.