Push Services (like GCM): How do they do it exactly?

KMatle

Expert
Licensed User
Longtime User
Almost all phone providers prevent a phone to be contacted from the outside, but it must be something as a sender/listener construct. On the other hand, this is very complicated to keep running (billions of devices).

Does anyone know how they do it technically?
 

b4auser1

Well-Known Member
Licensed User
Longtime User
http://stackoverflow.com/questions/11508613/how-does-push-notification-technology-work-on-android

I believe that all the push services are based on this approach.
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
It is not a "real" push solution. The device keeps an open connection to Google servers. The advantage of GCM is that the connection is maintained by the OS and can provide the push messages to many apps.

Does this mean it is possible to create such service ?
I know it is better to use GCM but would like to see how it is implemented .
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…