Mobile XMPP
Thursday, February 14, 2008 by darcoFrom the Android SDK M5 API Changes Overview, Dave Cridland pointed out the following:
The com.google.android.xmppService package has been replaced by the com.google.android.gtalkservice package. This is driven by the fact that the GTalk API is not XMPP compliant, and will be less so going forward. The reason is that XMPP is too verbose and inefficient for mobile network connection, and the GTalk API will be moving to a binary encoding for the protocol between the client and the server.
I'll enumerate the implications and conclusions:
- XMPP is verbose.
- XMPP is inefficient for mobile networking.
- A proprietary binary protocol would be more efficient for mobile devices.
- The former Android xmppService API will diverge away from XMPP.
I think that this direction is unfortunate, and the reasons misguided. Read on, and I'll elaborate...