32

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 .

Flow
  • 22,048
  • 13
  • 91
  • 147
AndroidDev
  • 1,131
  • 3
  • 16
  • 33
  • possible duplicate of [Android and XMPP: Currently available solutions](http://stackoverflow.com/questions/4769020/android-and-xmpp-currently-available-solutions) – Flow Sep 23 '13 at 10:51
  • @Manish Agrawal http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/ – AndroidDev Feb 13 '14 at 08:31
  • 1
    @AndroidDev : the link in that page for downloading sample is broken http://people.apache.org/~dims/android/XMPPClient.zip – Manish Agrawal Feb 13 '14 at 09:12
  • @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 Feb 18 '14 at 05:54
  • @CoronaPintu we have installed open fire server and we have implementes server api's which will be connected to open fire server database – AndroidDev Jul 07 '14 at 10:50
  • @CoronaPintu In Android, u can develope using smack library .. see the example. we have developed apis for our project purpose. u can do android app with our apis by depending on open fire server. https://www.igniterealtime.org/builds/smack/docs/latest/documentation/overview.html. check this link and follow smack api – AndroidDev Jul 07 '14 at 11:07

2 Answers2

20

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.

Community
  • 1
  • 1
Flow
  • 22,048
  • 13
  • 91
  • 147
8

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.

ruffin
  • 13,513
  • 8
  • 72
  • 118
Rubycon
  • 17,497
  • 10
  • 43
  • 64
  • 3
    major issue with quickblox is that it is highly structured and greatly inflexible. You can create chat but it is not unique to your friends but just all users in the app...not good. As well, only you, the admin, can create groups which will greatly destroy the quality of your app with the need to police so many groups that only you can create – Sauron Jan 18 '14 at 05:32
  • New version of QB Chat 2.0 will resolve all such issues, will be available in 2 weeks – Rubycon May 07 '14 at 08:02
  • 2
    Hi @IgorKhomenko, according to the stackoverflow rules, you are obligated to disclose that you are an employee of QuickBlox in your post. See http://stackoverflow.com/help/behavior Please add this information. – Flow Dec 07 '15 at 07:57