1

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.

Community
  • 1
  • 1
sumeet
  • 525
  • 2
  • 7
  • 16

1 Answers1

5

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

nickfox
  • 2,835
  • 1
  • 26
  • 31
  • by using smack library, i am successfully build my application. – sumeet Apr 13 '11 at 13:36
  • but now i want to transfer file also with chat to other user. please tell me any thing to properly implement this task. waiting for your quick positive reply. :-) – sumeet Apr 13 '11 at 13:37
  • Hey is it Possible to create the Chatting application for android if we dont have any server ? –  Apr 25 '11 at 07:21
  • no, it is never-ever possible. you must have an chat server for any android chat application. – sumeet Jul 09 '11 at 13:25
  • @nickfox can you tell me, how can we access archived chat messages from server, with the help of smack library. i am working too much on this side, but unable to get exact api from smack library, which will return me archived messages from server. looking forward at your side, to know the solution of this problem. – sumeet Sep 30 '11 at 06:15