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-16-2008 09:42 AM
in my application, there r two entry points
1st registers phoneListner at phone startup( autostartup )
2nd lounches application manually..
now when i use system.exit(0) to exit from my app, i also lost my registered phoneListener....a big prob !!!
09-16-2008 11:18 AM - edited 09-16-2008 11:20 AM
09-17-2008 04:38 AM
09-17-2008 04:48 AM
yes i also believe the same thing as u said..but my code just behaving unexpectedly, so i m confuse..
when my app fires system.exit(0), immediately i cant catch phone events for which i had registered phoneListener
09-17-2008 05:12 AM
Given that it works for me, and doesn't work for you, then this suggests there is a issue with your setup. So you are going to have to give us more if you expect us to help. We will need to know how you are testing including things like Level, OS Level, what messages you see or don't see, what debugging you have done, and so on.
However in your case, I would create a very simple Phone Listener, that just does something like System.out.println(...) in the interface methods, add that rather than your real one, and use it to prove that you are really NOT going through the Phone Listener. Creating this also means that if you see a problem, you can give easily give us the code to try.