Implementaion of XMPP into android [duplicate]

允我心安 提交于 2019-12-21 23:07:24

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/5501190/implementaion-of-xmpp-into-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!