Home » Android » Better Way to implement the chat application using XMPP on Android?

Better Way to implement the chat application using XMPP on Android?

Posted by: admin April 23, 2020 Leave a comment

Questions:

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 .

How to&Answers:

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.

Answer:

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.