Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: asmack(ported) or smack(patched)?

I have searched alot on google and in here to find the best featured API for XMPP client.

I have found the following two:

asmack: .http://code.google.com/p/asmack/

patched smack: http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/

I cant find any comparison of these two APIs on the internet, so maybe you can help me in which one to choose.?

In the original article of the patched smack he inform that TLS does not work (thats fine I should not use that) I consume that the rest works. On the other hand asmack is very popular but when I read around the net it seems that it is a little more buggy?

What do you advise me to choose?

Thanks!

like image 266
mrfandus Avatar asked Nov 05 '22 03:11

mrfandus


2 Answers

asmack is almost the same code as smack, basically what they did is some code refactoring, add some extra methods to extension, changed package order, also they replace DNS class and classes related with Sasl and authentication.

http://groups.google.com/group/android-developers/browse_thread/thread/0a8a0fb16752ba52/631dcf2137e79e7f?lnk=raot&pli=1

If you use asmack you wont have major problem.

like image 168
vsm Avatar answered Nov 11 '22 10:11

vsm


I do recommend to Avoid asmack In our last project we faced so many problems due open issues : http://code.google.com/p/asmack/issues/list other alternatives are avilable: https://stackoverflow.com/a/5487854/771300

like image 43
Ahmed Aswani Avatar answered Nov 11 '22 09:11

Ahmed Aswani