Android和XMPP:目前可用的解决方案目前、解决方案、Android、XMPP

2023-09-11 10:27:46 作者:便秘时想起你

我想提出一个问题,即哪些XMPP库将是最好的选择时下,对于Android的发展。

I'd like to pose a question as to which XMPP library would be the best choice nowadays, for Android development.

我一直在使用的修补拍击 从 这里 由于是 在许多其他问题建议 在这里左右。然而,这是一个补丁版本 从两年前的拍击API。和 虽然它通常效果很好,我 探索任何其他更近的 选项​​。

I've been using the patched Smack library from here 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.

我一直在寻找的官方 啪API ,然后过一小 研究,现在看来,这可能会工作得 时下罚款(虽然我没有 尝试过在一个真正的应用程序)。

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).

还有另一种解决方案,我来了 跨, 里奇 - 毕姆的aSMACK库 。 里奇 - 毕姆是一个相当新的XMPP客户端 Android和从我个人理解 他们正在用自己的补丁 版本aSMACK的。

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.

最后,还有的 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?

推荐答案

啪是一个开源的XMPP客户端库。由于4.1版运行原生Android上。欲了解更多信息,看看在啪4.1自述并观看点燃实时博客。 aSmack是啪4.1 pcated过时,德$ P $。

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 watch the Ignite Realtime blog. aSmack is obsolete and deprecated by Smack 4.1.