Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
09-10-2013 12:33 PM
I don't understand this:
"The background process is indeed invoked immediately, but as far as i can tell, its main()...."
There should only be one main(). This main should invoke either your background task or your foreground task depending on the args.
Can you describe what you mean by "its main"?
09-11-2013 03:37 AM
09-11-2013 04:06 AM
I have tried to create a little test for this and think I see the same - on OTA install, the main method was not invoked to start the background process.
I was testing on OS 7. What versions have you been testing on?
09-11-2013 05:02 AM
Sorry I don't have a lot of time to test this. I really should run my test app in a few more devices and see if I can establish some consistency, but that won't happen quickly. My impression is OS bug, as it should run the background first. My only suggestion is to code some workaround, like checking to see if the background app is present and if not launching it.
09-12-2013 06:09 AM