32
votes

Hi i want to implement the Chat application in android using XMPP (To avoid the GCM notifications because GCM uses request response process).

i have done the 70 perc functionality using Smack library and OpenFire server. but after completion of these i came to know about the QuickBlox SDK. I don't know completely about that but few people are saying that it is good api by seeing the features..

can any one tell me that is it correct way of implementing the chat application using smack for xmpp . or we have any other good api which uses xmpp for android .

2
@AndroidDev : the link in that page for downloading sample is broken people.apache.org/~dims/android/XMPPClient.zipManish Agrawal
@Manish Agrawal i dnt have sample code. i used that code only. copy the code and create a new project then u will get it. download the smack jar files from google.AndroidDev
@CoronaPintu we have installed open fire server and we have implementes server api's which will be connected to open fire server databaseAndroidDev

2 Answers

20
votes

The Stackoverflow question "Android and XMPP: Currently available solutions" provides a good overview of XMPP client libraries for Android.

Another good resource is xmpp.org/xmpp-software/libraries.

8
votes

You can use QuickBlox1 for free.

It provides XMPP server out of the box with lots of features, you can read about features there http://quickblox.com/developers/Chat

Here is an example how to start using QuickBlox with aSmack library http://quickblox.com/developers/Android_XMPP_Chat_Sample


1Quick disclosure: I am a developer at QuickBlox.