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.
08-25-2008 06:05 AM
To receive the content of a server push, a listener thread need to be running in the back ground on the blackberry device.
For a client application to receive the server push updates optimally, what is the best way?
1. Running the listener thread on the installation of the client application using auto-run on start up?
What happens to the thread if there is device reboot? Would the listener start again?
2. Running the listener thread on the launch of client application?
3. Is there a way to run the listener thread on need basis, only when there is a server push , like some notification (invoked by server) to the client that there is server push and then the client starts the listener thread?
Kindly provide your valuble inputs and suggest most commonly followed and the best practice.
Solved! Go to Solution.
08-25-2008 06:53 AM
08-25-2008 07:16 AM
Thanks Simon for the quick reply.
I am curious to know if the third option is possible (3. Is there a way to run the listener thread on need basis, only when there is a server push , like some notification (invoked by server) to the client that there is server push and then the client starts the listener thread?)
08-25-2008 08:14 AM