Implementaion of XMPP into android [duplicate]

2019-04-16 05:19发布

问题:

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



标签: android xmpp