Android and XMPP: Currently available solutions

Which XMPP library would be the best choice nowadays for Android development?

  • I've been using the patched Smack library as is suggested in many other questions here in SO. However, that's a patched version of the Smack API from two years ago. And although it generally works well I'm exploring any other, more recent options.

  • I've been looking at the official Smack API and after a little research, it seems it might work just fine nowadays (although I have not tried it yet in a real application).

  • There's also another solution I came across, Beem's aSMACK library . Beem is a fairly new XMPP client for android and from what I understand they are using their own patched version of aSMACK.

  • Finally, there's aSMACK but that too hasn't been updated for quite some time (as the site suggests).

  • Do you have any other suggestions or can you explain why I should choose one of the above over the rest?


    Smack

    Smack is a open-source XMPP client library. Since version 4.1 it runs natively on Android. For more information have a look at the "Smack 4.1 Readme" and see the Smack project page at Ignite Realtime. aSmack is obsolete and deprecated in favor of Smack 4.1.


    I recently stumbled across another open-source solution: jaxmpp2

    jaxmpp2 also targets Android (and Java SE). I can't really say anything else about it, because I don't use jaxmpp2 in my Android/XMPP projects. But it looks like a valid alternative to aSmack.


    Use qsmack for android

    https://code.google.com/p/qsmack/downloads/list

    Its the latest build for Android

    I have worked on one to one chat, group chat, video transfer, audio transfer, last seen, change registration number... almost complete whats app. I have created lots of plugin on openfire

    链接地址: http://www.djcxy.com/p/64984.html

    上一篇: 如何使用Openfire在Android中创建XMPP聊天客户端?

    下一篇: Android和XMPP:目前可用的解决方案