XMPP 在 Android 中的实现
可能的重复:
Android 和 XMPP:当前可用的解决方案
任何人都可以告诉我有关 XMPP 的实现进入安卓。如何开始以及从哪一点开始。请与我分享任何有用的链接或代码片段。
Possible Duplicate:
Android and XMPP: Currently available solutions
anyone can tell me about the implementation of XMPP into android. How to start and from which point i can start. please share with me any helpful link or code snippets for this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会考虑使用 Smack xmpp 客户端库。它是用 java 编写的,并且与 Openfire xmpp 服务器很好地集成。创建了库和服务器的 Ignite Realtime 网站拥有非常活跃的论坛和用户社区。服务器也是用java编写的,您也可以编写自定义插件。这是网站:
Smack Client API
您可以访问该网站上的论坛和 Openfire 服务器菜单。我还找到了一个开源 Smack Android 客户端:
open源 Android xmpp 客户端
这可能是创建您自己的应用程序的一个很好的起点。 smack 库还可用于连接到 Google Talk。
另一种途径是在 Web 视图中使用 javascript Strope 客户端库。这是一个非常强大的库,已经存在了一段时间了。
Strope javascript xmpp 客户端库
I would look into using the Smack xmpp client library. It's written in java and integrates nicely with the Openfire xmpp server. The Ignite Realtime website which has created both the library and the server have a very active forum and user community. The server is also written in java and you can write custom plugins as well. Here is the website:
Smack Client API
You can get to the forums and Openfire server on the site menu. I found an open source Smack Android client as well:
open source Android xmpp client
This is probably a good starting point for creating your own app. The smack library can also be used to connect to Google Talk.
Another route would be to use the javascript Strophe client library in a web view. This is a very robust library that has been around for a while.
Strophe javascript xmpp client library