Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
rwrife
Posts: 23
Registered: ‎04-29-2009

scheduleApplication does not work on actual device

I am using scheduleApplication to schedule my app to wake up and refresh some data....on the simulator this works flawlessly, but on my actual device (Curve 8500) nothing happens.  The method returns true and it's scheduled to fire 30 minutes later, but when the time elapses nothing is firing.  App is also signed properly.  Any ideas?

Please use plain text.
Developer
simon_hain
Posts: 15,558
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: scheduleApplication does not work on actual device

schedule your app in 1min, set a breakpoint and put some sysouts and check if it works.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
New Developer
rwrife
Posts: 23
Registered: ‎04-29-2009

Re: scheduleApplication does not work on actual device

Yeah I tried that and nothing is firing, not even main()....almost like the device either cannot find the app or doesn't actually try to fire it.

Please use plain text.
Developer
ibarrera
Posts: 588
Registered: ‎05-29-2009

Re: scheduleApplication does not work on actual device

Can you show us some of the code you are using for it?

Please use plain text.
New Developer
rwrife
Posts: 23
Registered: ‎04-29-2009

Re: scheduleApplication does not work on actual device

Found the problem, in the main() I was initially creating a http connection and it was throwing a "Tunnel Failed" exception and bombing out.  Just need to figure out that problem now.

Please use plain text.