Android:asmack(移植)还是 smack(修补)?

发布于 2024-10-15 08:26:15 字数 555 浏览 2 评论 0原文

我在 google 和此处进行了大量搜索,以找到 XMPP 客户端的最佳功能 API。

我找到了以下两个:

asmack: .http://code.google.com/p/asmack/

打补丁:http://davanum .wordpress.com/2008/12/29/updated-xmpp-client-for-android/

我在互联网上找不到这两个API的任何比较,所以也许你可以帮助我选择哪一个。 ?

在修补的 smack 的原始文章中,他告知 TLS 不起作用(很好,我不应该使用它),我认为其余部分都有效。 另一方面,asmack 非常受欢迎,但是当我在网上阅读时,似乎它有更多的错误?

你建议我选择什么?

谢谢!

I have searched alot on google and in here to find the best featured API for XMPP client.

I have found the following two:

asmack: .http://code.google.com/p/asmack/

patched smack: http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/

I cant find any comparison of these two APIs on the internet, so maybe you can help me in which one to choose.?

In the original article of the patched smack he inform that TLS does not work (thats fine I should not use that) I consume that the rest works.
On the other hand asmack is very popular but when I read around the net it seems that it is a little more buggy?

What do you advise me to choose?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

倚栏听风 2024-10-22 08:26:15

asmack 与 smack 几乎相同的代码,基本上他们所做的是一些代码重构,向扩展添加一些额外的方法,更改包顺序,还替换了 DNS 类以及与 Sasl 和身份验证相关的类。

http://groups.google .com/group/android-developers/browse_thread/thread/0a8a0fb16752ba52/631dcf2137e79e7f?lnk=raot&pli=1

如果你使用asmack,你不会有大问题。

asmack is almost the same code as smack, basically what they did is some code refactoring, add some extra methods to extension, changed package order, also they replace DNS class and classes related with Sasl and authentication.

http://groups.google.com/group/android-developers/browse_thread/thread/0a8a0fb16752ba52/631dcf2137e79e7f?lnk=raot&pli=1

If you use asmack you wont have major problem.

忆梦 2024-10-22 08:26:15

我确实建议避免 asmack 在我们上一个项目中,由于未解决的问题,我们遇到了很多问题:
http://code.google.com/p/asmack/issues/list
还可以使用其他替代方案:
https://stackoverflow.com/a/5487854/771300

I do recommend to Avoid asmack In our last project we faced so many problems due open issues :
http://code.google.com/p/asmack/issues/list
other alternatives are avilable:
https://stackoverflow.com/a/5487854/771300

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文