问题
I need further information about C2DM on android. The informations on http://code.google.com/intl/de-DE/android/c2dm/index.html are not clear about the background technology.
Which protocolls are used? How does the Google server find my cell phone?
I need such informations.
回答1:
You can get some info about C2DM internals from Google I/O 2010 video: Building push applications for Android
回答2:
C2DM maintains an open TCP socket connection to the messaging server. Its really rather simple, other than keeping the socket open, which is no exactly trivial.
来源:https://stackoverflow.com/questions/6426198/c2dm-background-technology