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

BlackBerry Push Development


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.


Reply
Visitor
Posts: 1
Registered: ‎04-06-2010
My Device: 9000
My Carrier: Airtel

Push vs Socket

Hi Guys,

 

I am new to posting questions in forum, kindly bear with me. I have couple of question regarding Push architecture. I googled for an hour, but cannot find my answers.

 

My application needs immediate response, when server gets new data. This could be accomplished by Push or creating an constant socket connection with the server. I guess the second one consumes more battery, because there will be no use of Push then Smiley Wink

 

What is the difference between Push and always-on socket connection with server?

 

Is Push using different method to get updates from server?

 

If Push is not always-on data connectivity. Then how the data is pushed from MSP to the device without data connectivity. Is it using any other protocol like USSD?

 

Thank you,

 

Alan Flik

Highlighted
Developer
Posts: 66
Registered: ‎09-04-2008
My Device: Z10

Re: Push vs Socket

Hi Alan,

 

here is a good ppt document whick explains all the different kinds of pushes you can use on the BlackBerry.

Hosted Data Push Services for Consumer Applications

 

Page 2 & 3 & 5 in this ppt should explain why you should use push and not polling for data in an specific interval or have an always-on-socket!!! 

 

There are some different kinds of push Services RIM is providing.

 

  1. Mail-push
  2. Enterprise push via MDS Connections Service (MDS - CS is a part of the BlackBerry Enterprise Server)
  3. Web signals (For pushing different icons to HomeScreen for example)
  4. BlackBerry Push Serivce (i´m not sure but think this is for applications for consumer, so it is not needed to connect to a special BES and works also via BIS

 

See page 6 in the ppt for more informations.

 

Hope this helps a little bit.

Best Regards

Lars.

---

My Twitter:
http://twitter.com/lgentz