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
PIN: N/A
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);
else
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?

Regards,
GEneha
__________________
Empower your BlackBerry
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.