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
Developer
Posts: 54
Registered: ‎10-05-2012
My Device: blackberry curve 9300
My Carrier: Vodafone

Background Application not working on device reboot ?

[ Edited ]

Hello ..... i have .Blackberry smartphone 9300 ,and using Eclipse SDK 3.7.2

I Have a Background Application and whenever i pull up the battery and insert it back .. or a reboot .. The application won't run at startup .... I have set the Application properties to Autorun on start-up ...

 

 

Please can anyone Help me .....

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Background Application not working on device reboot ?

Most sommon problem here is that the auto-start application is initiated before the device is actually fully up, so you need to stall for a bit.  Have a look at this:

 

http://supportforums.blackberry.com/t5/Java-Development/Write-safe-initialization-code/ta-p/444795

 

If this is not your problem, then you shoud remove the auto start and privde an icon that starts it.  Then you restart the device, then click on the icon while debugging on device.  Then you can debug your start-up. 

 

http://supportforums.blackberry.com/t5/Java-Development/How-Do-I-Debug-on-a-Live-Device/ta-p/446842

 

Good luck.